类 SparseFieldMatrixTest
java.lang.Object
org.hipparchus.linear.SparseFieldMatrixTest
SparseFieldMatrix
类的测试用例。
-
字段概要
修饰符和类型字段说明protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected double
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected double
protected Fraction[]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[][]
protected Fraction[]
protected Fraction[]
protected Fraction[]
-
构造器概要
-
方法概要
修饰符和类型方法说明protected void
assertClose
(String msg, Fraction[] m, Fraction[] n, double tolerance) 验证两个向量是否接近(sup范数)protected void
assertClose
(String msg, FieldMatrix<Fraction> m, FieldMatrix<Fraction> n, double tolerance) 验证两个矩阵是否接近(1-范数)void
testAdd()
测试加法void
测试加法失败void
测试复制函数void
测试维度void
void
用户指南中的示例测试void
void
void
void
void
void
void
测试问题 MATH-209void
测试乘法void
void
void
void
测试操作void
测试 m-n = m + -nvoid
void
测试向量的前置乘法void
测试标量加法void
void
void
测试迹void
测试转置void
void
-
字段详细资料
-
id
-
testData
-
testDataLU
-
testDataPlus2
-
testDataMinus
-
testDataRow1
-
testDataCol3
-
testDataInv
-
preMultTest
-
testData2
-
testData2T
-
testDataPlusInv
-
luData
-
luDataLUDecomposition
-
singular
-
bigSingular
-
detData
-
detData2
-
testVector
-
testVector2
-
subTestData
-
subRows02Cols13
-
subRows03Cols12
-
subRows03Cols123
-
subRows20Cols123
-
subRows31Cols31
-
subRows01Cols23
-
subRows23Cols00
-
subRows00Cols33
-
subRow0
-
subRow3
-
subColumn1
-
subColumn3
-
entryTolerance
protected double entryTolerance -
normTolerance
protected double normTolerance -
field
-
-
构造器详细资料
-
SparseFieldMatrixTest
public SparseFieldMatrixTest()
-
-
方法详细资料
-
testDimensions
public void testDimensions()测试维度 -
testCopyFunctions
public void testCopyFunctions()测试复制函数 -
testAdd
public void testAdd()测试加法 -
testAddFail
public void testAddFail()测试加法失败 -
testPlusMinus
public void testPlusMinus()测试 m-n = m + -n -
testMultiply
public void testMultiply()测试乘法 -
testMultiply2
public void testMultiply2() -
testMultiplyTransposedSparseFieldMatrix
public void testMultiplyTransposedSparseFieldMatrix() -
testMultiplyTransposedWrongDimensions
public void testMultiplyTransposedWrongDimensions() -
testTransposeMultiplySparseFieldMatrix
public void testTransposeMultiplySparseFieldMatrix() -
testTransposeMultiplyWrongDimensions
public void testTransposeMultiplyWrongDimensions() -
testTrace
public void testTrace()测试迹 -
testScalarAdd
public void testScalarAdd()测试标量加法 -
testOperate
public void testOperate()测试操作 -
testMath209
public void testMath209()测试问题 MATH-209 -
testTranspose
public void testTranspose()测试转置 -
testPremultiplyVector
public void testPremultiplyVector()测试向量的前置乘法 -
testPremultiply
public void testPremultiply() -
testGetVectors
public void testGetVectors() -
testGetEntry
public void testGetEntry() -
testExamples
public void testExamples()用户指南中的示例测试 -
testSubMatrix
public void testSubMatrix() -
testGetRowMatrix
public void testGetRowMatrix() -
testGetColumnMatrix
public void testGetColumnMatrix() -
testGetRowVector
public void testGetRowVector() -
testGetColumnVector
public void testGetColumnVector() -
testEqualsAndHashCode
public void testEqualsAndHashCode() -
testSetSubMatrix
public void testSetSubMatrix() -
assertClose
protected void assertClose(String msg, FieldMatrix<Fraction> m, FieldMatrix<Fraction> n, double tolerance) 验证两个矩阵是否接近(1-范数) -
assertClose
验证两个向量是否接近(sup范数)
-