类 BlockRealMatrixTest
java.lang.Object
org.hipparchus.linear.BlockRealMatrixTest
BlockRealMatrix
类的测试用例。
-
字段概要
修饰符和类型字段说明protected double[][]
protected double[][]
protected double[][]
protected double
protected double[][]
protected double[][]
protected double[][]
protected double
protected double[]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[][]
protected double[]
protected double[]
protected double[]
-
构造器概要
-
方法概要
修饰符和类型方法说明protected void
assertClose
(double[] m, double[] n, double tolerance) 验证两个向量是否接近(sup范数)protected void
assertClose
(RealMatrix m, RealMatrix n, double tolerance) 验证两个矩阵是否接近(1-范数)void
testAdd()
测试加法void
测试加法失败void
void
测试复制函数void
void
测试维度void
void
用户指南中的示例测试void
测试Frobenius范数void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
测试问题MATH-209void
测试乘法void
void
void
void
void
testNorm()
测试范数void
测试操作void
void
void
测试m-n = m + -nvoid
void
测试向量的preMultiplyvoid
测试标量加法void
void
void
void
void
void
void
void
void
void
void
测试迹void
测试转置void
void
void
void
testWalk()
-
字段详细资料
-
id
protected double[][] id -
testData
protected double[][] testData -
testDataLU
protected double[][] testDataLU -
testDataPlus2
protected double[][] testDataPlus2 -
testDataMinus
protected double[][] testDataMinus -
testDataRow1
protected double[] testDataRow1 -
testDataCol3
protected double[] testDataCol3 -
testDataInv
protected double[][] testDataInv -
preMultTest
protected double[] preMultTest -
testData2
protected double[][] testData2 -
testData2T
protected double[][] testData2T -
testDataPlusInv
protected double[][] testDataPlusInv -
luData
protected double[][] luData -
luDataLUDecomposition
protected double[][] luDataLUDecomposition -
singular
protected double[][] singular -
bigSingular
protected double[][] bigSingular -
detData
protected double[][] detData -
detData2
protected double[][] detData2 -
testVector
protected double[] testVector -
testVector2
protected double[] testVector2 -
subTestData
protected double[][] subTestData -
subRows02Cols13
protected double[][] subRows02Cols13 -
subRows03Cols12
protected double[][] subRows03Cols12 -
subRows03Cols123
protected double[][] subRows03Cols123 -
subRows20Cols123
protected double[][] subRows20Cols123 -
subRows31Cols31
protected double[][] subRows31Cols31 -
subRows01Cols23
protected double[][] subRows01Cols23 -
subRows23Cols00
protected double[][] subRows23Cols00 -
subRows00Cols33
protected double[][] subRows00Cols33 -
subRow0
protected double[][] subRow0 -
subRow3
protected double[][] subRow3 -
subColumn1
protected double[][] subColumn1 -
subColumn3
protected double[][] subColumn3 -
entryTolerance
protected double entryTolerance -
normTolerance
protected double normTolerance
-
-
构造器详细资料
-
BlockRealMatrixTest
public BlockRealMatrixTest()
-
-
方法详细资料
-
testDimensions
public void testDimensions()测试维度 -
testCopyFunctions
public void testCopyFunctions()测试复制函数 -
testAdd
public void testAdd()测试加法 -
testAddFail
public void testAddFail()测试加法失败 -
testNorm
public void testNorm()测试范数 -
testFrobeniusNorm
public void testFrobeniusNorm()测试Frobenius范数 -
testPlusMinus
public void testPlusMinus()测试m-n = m + -n -
testMultiply
public void testMultiply()测试乘法 -
testSeveralBlocks
public void testSeveralBlocks() -
testMultiply2
public void testMultiply2() -
testMultiplyTransposedBlockRealMatrix
public void testMultiplyTransposedBlockRealMatrix() -
testMultiplyTransposedArray2DRowRealMatrix
public void testMultiplyTransposedArray2DRowRealMatrix() -
testMultiplyTransposedWrongDimensions
public void testMultiplyTransposedWrongDimensions() -
testTransposeMultiplyBlockRealMatrix
public void testTransposeMultiplyBlockRealMatrix() -
testTransposeMultiplyArray2DRowRealMatrix
public void testTransposeMultiplyArray2DRowRealMatrix() -
testTransposeMultiplyWrongDimensions
public void testTransposeMultiplyWrongDimensions() -
testTrace
public void testTrace()测试迹 -
testScalarAdd
public void testScalarAdd()测试标量加法 -
testOperate
public void testOperate()测试操作 -
testOperateLarge
public void testOperateLarge() -
testOperatePremultiplyLarge
public void testOperatePremultiplyLarge() -
testMath209
public void testMath209()测试问题MATH-209 -
testTranspose
public void testTranspose()测试转置 -
testPremultiplyVector
public void testPremultiplyVector()测试向量的preMultiply -
testArithmeticBlending
public void testArithmeticBlending() -
testPremultiply
public void testPremultiply() -
testGetVectors
public void testGetVectors() -
testGetEntry
public void testGetEntry() -
testExamples
public void testExamples()用户指南中的示例测试 -
testGetSubMatrix
public void testGetSubMatrix() -
testGetSetMatrixLarge
public void testGetSetMatrixLarge() -
testCopySubMatrix
public void testCopySubMatrix() -
testGetRowMatrix
public void testGetRowMatrix() -
testSetRowMatrix
public void testSetRowMatrix() -
testGetSetRowMatrixLarge
public void testGetSetRowMatrixLarge() -
testGetColumnMatrix
public void testGetColumnMatrix() -
testSetColumnMatrix
public void testSetColumnMatrix() -
testGetSetColumnMatrixLarge
public void testGetSetColumnMatrixLarge() -
testGetRowVector
public void testGetRowVector() -
testSetRowVector
public void testSetRowVector() -
testGetSetRowVectorLarge
public void testGetSetRowVectorLarge() -
testGetColumnVector
public void testGetColumnVector() -
testSetColumnVector
public void testSetColumnVector() -
testGetSetColumnVectorLarge
public void testGetSetColumnVectorLarge() -
testGetRow
public void testGetRow() -
testSetRow
public void testSetRow() -
testGetSetRowLarge
public void testGetSetRowLarge() -
testGetColumn
public void testGetColumn() -
testSetColumn
public void testSetColumn() -
testGetSetColumnLarge
public void testGetSetColumnLarge() -
testEqualsAndHashCode
public void testEqualsAndHashCode() -
testToString
public void testToString() -
testSetSubMatrix
public void testSetSubMatrix() -
testWalk
public void testWalk() -
testSerial
public void testSerial() -
assertClose
验证两个矩阵是否接近(1-范数) -
assertClose
protected void assertClose(double[] m, double[] n, double tolerance) 验证两个向量是否接近(sup范数)
-