| org.apache.commons.math.linear.RealMatrixImplTest
RealMatrixImplTest | final public class RealMatrixImplTest extends TestCase (Code) | | Test cases for the
RealMatrixImpl class.
version: $Revision: 240244 $ $Date: 2005-08-26 06:40:32 -0700 (Fri, 26 Aug 2005) $ |
Method Summary | |
protected void | assertClose(String msg, RealMatrix m, RealMatrix n, double tolerance) | protected void | assertClose(String msg, double[] m, double[] n, double tolerance) | protected RealMatrix | permuteRows(RealMatrix matrix, int[] permutation) | public void | setUp() | protected void | splitLU(RealMatrix lu, double[][] lowerData, double[][] upperData) | public static Test | suite() | public void | testAdd() | public void | testAddFail() | public void | testCopyFunctions() | public void | testDeterminant() | public void | testDimensions() | public void | testEqualsAndHashCode() | public void | testExamples() | public void | testGetColumnMatrix() | public void | testGetEntry() | public void | testGetRowMatrix() | public void | testGetVectors() | public void | testInverse() | public void | testIsSingular() | public void | testLUDecomposition() | public void | testMultiply() | public void | testMultiply2() | public void | testNorm() | public void | testOperate() | public void | testPlusMinus() | public void | testPremultiply() | public void | testPremultiplyVector() | public void | testScalarAdd() | public void | testSetSubMatrix() | public void | testSolve() | public void | testSubMatrix() | public void | testToString() | public void | testTrace() | public void | testTranspose() | protected void | verifyDecomposition(RealMatrix matrix, RealMatrix lu) |
bigSingular | protected double[][] bigSingular(Code) | | |
detData | protected double[][] detData(Code) | | |
detData2 | protected double[][] detData2(Code) | | |
entryTolerance | protected double entryTolerance(Code) | | |
id | protected double[][] id(Code) | | |
luData | protected double[][] luData(Code) | | |
luDataLUDecomposition | protected double[][] luDataLUDecomposition(Code) | | |
normTolerance | protected double normTolerance(Code) | | |
preMultTest | protected double[] preMultTest(Code) | | |
singular | protected double[][] singular(Code) | | |
subColumn1 | protected double[][] subColumn1(Code) | | |
subColumn3 | protected double[][] subColumn3(Code) | | |
subRow0 | protected double[][] subRow0(Code) | | |
subRow3 | protected double[][] subRow3(Code) | | |
subRows00Cols33 | protected double[][] subRows00Cols33(Code) | | |
subRows01Cols23 | protected double[][] subRows01Cols23(Code) | | |
subRows02Cols13 | protected double[][] subRows02Cols13(Code) | | |
subRows03Cols12 | protected double[][] subRows03Cols12(Code) | | |
subRows03Cols123 | protected double[][] subRows03Cols123(Code) | | |
subRows20Cols123 | protected double[][] subRows20Cols123(Code) | | |
subRows23Cols00 | protected double[][] subRows23Cols00(Code) | | |
subRows31Cols31 | protected double[][] subRows31Cols31(Code) | | |
subTestData | protected double[][] subTestData(Code) | | |
testData | protected double[][] testData(Code) | | |
testData2 | protected double[][] testData2(Code) | | |
testData2T | protected double[][] testData2T(Code) | | |
testDataCol3 | protected double[] testDataCol3(Code) | | |
testDataInv | protected double[][] testDataInv(Code) | | |
testDataLU | protected double[][] testDataLU(Code) | | |
testDataMinus | protected double[][] testDataMinus(Code) | | |
testDataPlus2 | protected double[][] testDataPlus2(Code) | | |
testDataPlusInv | protected double[][] testDataPlusInv(Code) | | |
testDataRow1 | protected double[] testDataRow1(Code) | | |
testVector | protected double[] testVector(Code) | | |
testVector2 | protected double[] testVector2(Code) | | |
RealMatrixImplTest | public RealMatrixImplTest(String name)(Code) | | |
assertClose | protected void assertClose(String msg, double[] m, double[] n, double tolerance)(Code) | | verifies that two vectors are close (sup norm)
|
permuteRows | protected RealMatrix permuteRows(RealMatrix matrix, int[] permutation)(Code) | | Returns the result of applying the given row permutation to the matrix
|
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testAdd | public void testAdd()(Code) | | test add
|
testAddFail | public void testAddFail()(Code) | | test add failure
|
testCopyFunctions | public void testCopyFunctions()(Code) | | test copy functions
|
testDeterminant | public void testDeterminant()(Code) | | test determinant
|
testDimensions | public void testDimensions()(Code) | | test dimensions
|
testEqualsAndHashCode | public void testEqualsAndHashCode()(Code) | | |
testExamples | public void testExamples()(Code) | | test examples in user guide
|
testGetColumnMatrix | public void testGetColumnMatrix()(Code) | | |
testGetEntry | public void testGetEntry()(Code) | | |
testGetRowMatrix | public void testGetRowMatrix()(Code) | | |
testGetVectors | public void testGetVectors()(Code) | | |
testInverse | public void testInverse()(Code) | | test inverse
|
testIsSingular | public void testIsSingular()(Code) | | test isSingular
|
testLUDecomposition | public void testLUDecomposition() throws Exception(Code) | | |
testMultiply | public void testMultiply()(Code) | | test multiply
|
testMultiply2 | public void testMultiply2()(Code) | | |
testNorm | public void testNorm()(Code) | | test norm
|
testOperate | public void testOperate()(Code) | | test operate
|
testPlusMinus | public void testPlusMinus()(Code) | | test m-n = m + -n
|
testPremultiply | public void testPremultiply()(Code) | | |
testPremultiplyVector | public void testPremultiplyVector()(Code) | | test preMultiply by vector
|
testScalarAdd | public void testScalarAdd()(Code) | | test sclarAdd
|
testSolve | public void testSolve()(Code) | | test solve
|
testSubMatrix | public void testSubMatrix()(Code) | | |
testToString | public void testToString()(Code) | | |
testTrace | public void testTrace()(Code) | | test trace
|
testTranspose | public void testTranspose()(Code) | | test transpose
|
verifyDecomposition | protected void verifyDecomposition(RealMatrix matrix, RealMatrix lu) throws Exception(Code) | | Extracts l and u matrices from lu and verifies that matrix = l times u modulo permutation
|
|
|