类 MatrixUtilsTest

java.lang.Object
org.hipparchus.linear.MatrixUtilsTest

public final class MatrixUtilsTest extends Object
MatrixUtils类的测试用例。
  • 字段详细资料

    • testData

      protected double[][] testData
    • testData3x3Singular

      protected double[][] testData3x3Singular
    • testData3x4

      protected double[][] testData3x4
    • nullMatrix

      protected double[][] nullMatrix
    • row

      protected double[] row
    • bigRow

      protected BigDecimal[] bigRow
    • stringRow

      protected String[] stringRow
    • fractionRow

      protected Fraction[] fractionRow
    • rowMatrix

      protected double[][] rowMatrix
    • bigRowMatrix

      protected BigDecimal[][] bigRowMatrix
    • stringRowMatrix

      protected String[][] stringRowMatrix
    • fractionRowMatrix

      protected Fraction[][] fractionRowMatrix
    • col

      protected double[] col
    • bigCol

      protected BigDecimal[] bigCol
    • stringCol

      protected String[] stringCol
    • fractionCol

      protected Fraction[] fractionCol
    • nullDoubleArray

      protected double[] nullDoubleArray
    • colMatrix

      protected double[][] colMatrix
    • bigColMatrix

      protected BigDecimal[][] bigColMatrix
    • stringColMatrix

      protected String[][] stringColMatrix
    • fractionColMatrix

      protected Fraction[][] 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

      protected void checkIdentityMatrix(RealMatrix m)
      验证矩阵是否为单位矩阵。
    • testCreateIdentityMatrix

      public void testCreateIdentityMatrix()
    • checkIdentityFieldMatrix

      protected void checkIdentityFieldMatrix(FieldMatrix<Fraction> m)
      验证矩阵是否为单位矩阵。
    • testcreateFieldIdentityMatrix

      public void testcreateFieldIdentityMatrix()
    • testBigFractionConverter

      public void testBigFractionConverter()
    • testFractionConverter

      public void testFractionConverter()
    • asFraction

      public static final Fraction[][] asFraction(double[][] data)
    • asFraction

      public static final Fraction[] asFraction(double[] data)
    • 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()