类 MatrixUtilsTest
java.lang.Object
org.hipparchus.linear.MatrixUtilsTest
MatrixUtils
类的测试用例。
-
字段概要
修饰符和类型字段说明protected BigDecimal[]
protected BigDecimal[][]
protected BigDecimal[]
protected BigDecimal[][]
protected double[]
protected double[][]
protected Fraction[]
protected Fraction[][]
protected Fraction[]
protected Fraction[][]
protected double[]
protected double[][]
protected double[]
protected double[][]
protected String[]
protected String[][]
protected String[]
protected String[][]
protected double[][]
protected double[][]
protected double[][]
-
构造器概要
-
方法概要
修饰符和类型方法说明static final Fraction[]
asFraction
(double[] data) static final Fraction[][]
asFraction
(double[][] data) protected void
验证矩阵是否为单位矩阵。protected void
验证矩阵是否为单位矩阵。void
void
这个测试应该被替换为一个能够展示这个算法有时是否比整个矩阵直接求逆更好(精度或性能方面)的测试。void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
字段详细资料
-
testData
protected double[][] testData -
testData3x3Singular
protected double[][] testData3x3Singular -
testData3x4
protected double[][] testData3x4 -
nullMatrix
protected double[][] nullMatrix -
row
protected double[] row -
bigRow
-
stringRow
-
fractionRow
-
rowMatrix
protected double[][] rowMatrix -
bigRowMatrix
-
stringRowMatrix
-
fractionRowMatrix
-
col
protected double[] col -
bigCol
-
stringCol
-
fractionCol
-
nullDoubleArray
protected double[] nullDoubleArray -
colMatrix
protected double[][] colMatrix -
bigColMatrix
-
stringColMatrix
-
fractionColMatrix
-
-
构造器详细资料
-
MatrixUtilsTest
public MatrixUtilsTest()
-
-
方法详细资料
-
testCreateRealMatrix
public void testCreateRealMatrix() -
testcreateFieldMatrix
public void testcreateFieldMatrix() -
testCreateRealVector
public void testCreateRealVector() -
testCreateFieldVector
public void testCreateFieldVector() -
testCreateRowRealMatrix
public void testCreateRowRealMatrix() -
testCreateRowFieldMatrix
public void testCreateRowFieldMatrix() -
testCreateColumnRealMatrix
public void testCreateColumnRealMatrix() -
testCreateColumnFieldMatrix
public void testCreateColumnFieldMatrix() -
checkIdentityMatrix
验证矩阵是否为单位矩阵。 -
testCreateIdentityMatrix
public void testCreateIdentityMatrix() -
checkIdentityFieldMatrix
验证矩阵是否为单位矩阵。 -
testcreateFieldIdentityMatrix
public void testcreateFieldIdentityMatrix() -
testBigFractionConverter
public void testBigFractionConverter() -
testFractionConverter
public void testFractionConverter() -
asFraction
-
asFraction
-
testSolveLowerTriangularSystem
public void testSolveLowerTriangularSystem() -
testSolveUpperTriangularSystem
public void testSolveUpperTriangularSystem() -
testBlockInverse
public void testBlockInverse()这个测试应该被替换为一个能够展示这个算法有时是否比整个矩阵直接求逆更好(精度或性能方面)的测试。 -
testBlockInverseNonInvertible
public void testBlockInverseNonInvertible() -
testIsSymmetric
public void testIsSymmetric() -
testIsSymmetricTolerance
public void testIsSymmetricTolerance() -
testCheckSymmetric1
public void testCheckSymmetric1() -
testCheckSymmetric2
public void testCheckSymmetric2() -
testInverseSingular
public void testInverseSingular() -
testInverseNonSquare
public void testInverseNonSquare() -
testInverseDiagonalMatrix
public void testInverseDiagonalMatrix() -
testInverseRealMatrix
public void testInverseRealMatrix() -
testMatrixExponentialNonSquare
public void testMatrixExponentialNonSquare() -
testMatrixExponential3
public void testMatrixExponential3() -
testMatrixExponential5
public void testMatrixExponential5() -
testMatrixExponential7
public void testMatrixExponential7() -
testMatrixExponential9
public void testMatrixExponential9() -
testMatrixExponential13
public void testMatrixExponential13() -
testOrthonormalize1
public void testOrthonormalize1() -
testOrthonormalize2
public void testOrthonormalize2() -
testOrthonormalize3
public void testOrthonormalize3() -
testOrthonormalizeIncompleteBasis
public void testOrthonormalizeIncompleteBasis() -
testOrthonormalizeDependent
public void testOrthonormalizeDependent() -
testOrthonormalizeDependentGenerateException
public void testOrthonormalizeDependentGenerateException() -
testOrthonormalizeDependentAddZeroNorm
public void testOrthonormalizeDependentAddZeroNorm() -
testOrthonormalizeDependentReduceToSpan
public void testOrthonormalizeDependentReduceToSpan() -
testFieldOrthonormalize1
public void testFieldOrthonormalize1() -
testFieldOrthonormalize2
public void testFieldOrthonormalize2() -
testFieldOrthonormalize3
public void testFieldOrthonormalize3() -
testFieldOrthonormalizeIncompleteBasis
public void testFieldOrthonormalizeIncompleteBasis() -
testFieldOrthonormalizeDependent
public void testFieldOrthonormalizeDependent() -
testFieldOrthonormalizeDependentGenerateException
public void testFieldOrthonormalizeDependentGenerateException() -
testFieldOrthonormalizeDependentAddZeroNorm
public void testFieldOrthonormalizeDependentAddZeroNorm() -
testFieldOrthonormalizeDependentReduceToSpan
public void testFieldOrthonormalizeDependentReduceToSpan()
-