|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.math.linear.BlockRealMatrixTest
public final class BlockRealMatrixTest
Test cases for the BlockRealMatrix
class.
Field Summary | |
---|---|
protected double[][] |
bigSingular
|
protected double[][] |
detData
|
protected double[][] |
detData2
|
protected double |
entryTolerance
|
protected double[][] |
id
|
protected double[][] |
luData
|
protected double[][] |
luDataLUDecomposition
|
protected double |
normTolerance
|
protected double[] |
preMultTest
|
protected double[][] |
singular
|
protected double[][] |
subColumn1
|
protected double[][] |
subColumn3
|
protected double[][] |
subRow0
|
protected double[][] |
subRow3
|
protected double[][] |
subRows00Cols33
|
protected double[][] |
subRows01Cols23
|
protected double[][] |
subRows02Cols13
|
protected double[][] |
subRows03Cols12
|
protected double[][] |
subRows03Cols123
|
protected double[][] |
subRows20Cols123
|
protected double[][] |
subRows23Cols00
|
protected double[][] |
subRows31Cols31
|
protected double[][] |
subTestData
|
protected double[][] |
testData
|
protected double[][] |
testData2
|
protected double[][] |
testData2T
|
protected double[] |
testDataCol3
|
protected double[][] |
testDataInv
|
protected double[][] |
testDataLU
|
protected double[][] |
testDataMinus
|
protected double[][] |
testDataPlus2
|
protected double[][] |
testDataPlusInv
|
protected double[] |
testDataRow1
|
protected double[] |
testVector
|
protected double[] |
testVector2
|
Constructor Summary | |
---|---|
BlockRealMatrixTest(String name)
|
Method Summary | |
---|---|
protected void |
assertClose(double[] m,
double[] n,
double tolerance)
verifies that two vectors are close (sup norm) |
protected void |
assertClose(org.apache.commons.math.linear.RealMatrix m,
org.apache.commons.math.linear.RealMatrix n,
double tolerance)
verifies that two matrices are close (1-norm) |
static junit.framework.Test |
suite()
|
void |
testAdd()
test add |
void |
testAddFail()
test add failure |
void |
testCopyFunctions()
test copy functions |
void |
testCopySubMatrix()
|
void |
testDimensions()
test dimensions |
void |
testEqualsAndHashCode()
|
void |
testExamples()
test examples in user guide |
void |
testFrobeniusNorm()
test Frobenius norm |
void |
testGetColumn()
|
void |
testGetColumnMatrix()
|
void |
testGetColumnVector()
|
void |
testGetEntry()
|
void |
testGetRow()
|
void |
testGetRowMatrix()
|
void |
testGetRowVector()
|
void |
testGetSetColumnLarge()
|
void |
testGetSetColumnMatrixLarge()
|
void |
testGetSetColumnVectorLarge()
|
void |
testGetSetMatrixLarge()
|
void |
testGetSetRowLarge()
|
void |
testGetSetRowMatrixLarge()
|
void |
testGetSetRowVectorLarge()
|
void |
testGetSubMatrix()
|
void |
testGetVectors()
|
void |
testMath209()
test issue MATH-209 |
void |
testMultiply()
test multiply |
void |
testMultiply2()
|
void |
testNorm()
test norm |
void |
testOperate()
test operate |
void |
testOperateLarge()
|
void |
testOperatePremultiplyLarge()
|
void |
testPlusMinus()
test m-n = m + -n |
void |
testPremultiply()
|
void |
testPremultiplyVector()
test preMultiply by vector |
void |
testScalarAdd()
test scalarAdd |
void |
testSerial()
|
void |
testSetColumn()
|
void |
testSetColumnMatrix()
|
void |
testSetColumnVector()
|
void |
testSetRow()
|
void |
testSetRowMatrix()
|
void |
testSetRowVector()
|
void |
testSetSubMatrix()
|
void |
testSeveralBlocks()
|
void |
testToString()
|
void |
testTrace()
test trace |
void |
testTranspose()
test transpose |
void |
testWalk()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double[][] id
protected double[][] testData
protected double[][] testDataLU
protected double[][] testDataPlus2
protected double[][] testDataMinus
protected double[] testDataRow1
protected double[] testDataCol3
protected double[][] testDataInv
protected double[] preMultTest
protected double[][] testData2
protected double[][] testData2T
protected double[][] testDataPlusInv
protected double[][] luData
protected double[][] luDataLUDecomposition
protected double[][] singular
protected double[][] bigSingular
protected double[][] detData
protected double[][] detData2
protected double[] testVector
protected double[] testVector2
protected double[][] subTestData
protected double[][] subRows02Cols13
protected double[][] subRows03Cols12
protected double[][] subRows03Cols123
protected double[][] subRows20Cols123
protected double[][] subRows31Cols31
protected double[][] subRows01Cols23
protected double[][] subRows23Cols00
protected double[][] subRows00Cols33
protected double[][] subRow0
protected double[][] subRow3
protected double[][] subColumn1
protected double[][] subColumn3
protected double entryTolerance
protected double normTolerance
Constructor Detail |
---|
public BlockRealMatrixTest(String name)
Method Detail |
---|
public static junit.framework.Test suite()
public void testDimensions()
public void testCopyFunctions()
public void testAdd()
public void testAddFail()
public void testNorm()
public void testFrobeniusNorm()
public void testPlusMinus()
public void testMultiply()
public void testSeveralBlocks()
public void testMultiply2()
public void testTrace()
public void testScalarAdd()
public void testOperate()
public void testOperateLarge()
public void testOperatePremultiplyLarge()
public void testMath209()
public void testTranspose()
public void testPremultiplyVector()
public void testPremultiply()
public void testGetVectors()
public void testGetEntry()
public void testExamples()
public void testGetSubMatrix()
public void testGetSetMatrixLarge()
public void testCopySubMatrix()
public void testGetRowMatrix()
public void testSetRowMatrix()
public void testGetSetRowMatrixLarge()
public void testGetColumnMatrix()
public void testSetColumnMatrix()
public void testGetSetColumnMatrixLarge()
public void testGetRowVector()
public void testSetRowVector()
public void testGetSetRowVectorLarge()
public void testGetColumnVector()
public void testSetColumnVector()
public void testGetSetColumnVectorLarge()
public void testGetRow()
public void testSetRow()
public void testGetSetRowLarge()
public void testGetColumn()
public void testSetColumn()
public void testGetSetColumnLarge()
public void testEqualsAndHashCode()
public void testToString()
public void testSetSubMatrix() throws Exception
Exception
public void testWalk()
public void testSerial()
protected void assertClose(org.apache.commons.math.linear.RealMatrix m, org.apache.commons.math.linear.RealMatrix n, double tolerance)
protected void assertClose(double[] m, double[] n, double tolerance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |