|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.util.MatrixToolkit
public final class MatrixToolkit
This is a useful collection of matrix related methods.
Method Summary | |
---|---|
static ComplexDiagonalMatrix |
randomComplexDiagonalMatrix(int size)
Creates a random generated diagonal matrix. |
static ComplexSquareMatrix |
randomComplexSquareMatrix(int size)
Creates a random generated square matrix. |
static ComplexTridiagonalMatrix |
randomComplexTridiagonalMatrix(int size)
Creates a random generated tridiagonal matrix. |
static DoubleDiagonalMatrix |
randomDiagonalMatrix(int size)
Creates a random generated diagonal matrix. |
static DoubleSquareMatrix |
randomSquareMatrix(int size)
Creates a random generated square matrix. |
static DoubleTridiagonalMatrix |
randomTridiagonalMatrix(int size)
Creates a random generated tridiagonal matrix. |
static DoubleSquareMatrix |
rosserMatrix()
|
static Complex[][] |
toArray(AbstractComplexMatrix v)
Converts a matrix to an array. |
static double[][] |
toArray(AbstractDoubleMatrix v)
Converts a matrix to an array. |
static DoubleTridiagonalMatrix |
wilkinsonMatrix(int n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DoubleSquareMatrix randomSquareMatrix(int size)
public static DoubleTridiagonalMatrix randomTridiagonalMatrix(int size)
public static DoubleDiagonalMatrix randomDiagonalMatrix(int size)
public static ComplexSquareMatrix randomComplexSquareMatrix(int size)
public static ComplexTridiagonalMatrix randomComplexTridiagonalMatrix(int size)
public static ComplexDiagonalMatrix randomComplexDiagonalMatrix(int size)
public static double[][] toArray(AbstractDoubleMatrix v)
public static Complex[][] toArray(AbstractComplexMatrix v)
public static DoubleSquareMatrix rosserMatrix()
public static DoubleTridiagonalMatrix wilkinsonMatrix(int n)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |