|
||||||||||
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.Array2DRowRealMatrixTest
public final class Array2DRowRealMatrixTest
Test cases for the Array2DRowRealMatrix
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 | |
---|---|
Array2DRowRealMatrixTest(String name)
|
Method Summary | |
---|---|
protected org.apache.commons.math.linear.RealMatrix |
permuteRows(org.apache.commons.math.linear.RealMatrix matrix,
int[] permutation)
Returns the result of applying the given row permutation to the matrix |
protected void |
splitLU(org.apache.commons.math.linear.RealMatrix lu,
double[][] lowerData,
double[][] upperData)
extracts the l and u matrices from compact lu representation |
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 |
testGetSubMatrix()
|
void |
testGetVectors()
|
void |
testMath209()
test issue MATH-209 |
void |
testMultiply()
test multiply |
void |
testMultiply2()
|
void |
testNorm()
test norm |
void |
testOperate()
test operate |
void |
testPlusMinus()
test m-n = m + -n |
void |
testPremultiply()
|
void |
testPremultiplyVector()
test preMultiply by vector |
void |
testScalarAdd()
test sclarAdd |
void |
testSerial()
|
void |
testSetColumn()
|
void |
testSetColumnMatrix()
|
void |
testSetColumnVector()
|
void |
testSetRow()
|
void |
testSetRowMatrix()
|
void |
testSetRowVector()
|
void |
testSetSubMatrix()
|
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 Array2DRowRealMatrixTest(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 testMultiply2()
public void testTrace()
public void testScalarAdd()
public void testOperate()
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 testCopySubMatrix()
public void testGetRowMatrix()
public void testSetRowMatrix()
public void testGetColumnMatrix()
public void testSetColumnMatrix()
public void testGetRowVector()
public void testSetRowVector()
public void testGetColumnVector()
public void testSetColumnVector()
public void testGetRow()
public void testSetRow()
public void testGetColumn()
public void testSetColumn()
public void testEqualsAndHashCode()
public void testToString()
public void testSetSubMatrix() throws Exception
Exception
public void testWalk()
public void testSerial()
protected void splitLU(org.apache.commons.math.linear.RealMatrix lu, double[][] lowerData, double[][] upperData) throws org.apache.commons.math.linear.InvalidMatrixException
org.apache.commons.math.linear.InvalidMatrixException
protected org.apache.commons.math.linear.RealMatrix permuteRows(org.apache.commons.math.linear.RealMatrix matrix, int[] permutation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |