org.apache.commons.math.linear
Class RealMatrixImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.linear.RealMatrixImplTest
All Implemented Interfaces:
junit.framework.Test

Deprecated.

@Deprecated
public final class RealMatrixImplTest
extends junit.framework.TestCase

Test cases for the RealMatrixImpl class.

Version:
$Revision: 783702 $ $Date: 2009-06-11 04:54:02 -0400 (Thu, 11 Jun 2009) $

Field Summary
protected  double[][] bigSingular
          Deprecated.  
protected  double[][] detData
          Deprecated.  
protected  double[][] detData2
          Deprecated.  
protected  double entryTolerance
          Deprecated.  
protected  double[][] id
          Deprecated.  
protected  double[][] luData
          Deprecated.  
protected  double[][] luDataLUDecomposition
          Deprecated.  
protected  double normTolerance
          Deprecated.  
protected  double[] preMultTest
          Deprecated.  
protected  double[][] singular
          Deprecated.  
protected  double[][] subColumn1
          Deprecated.  
protected  double[][] subColumn3
          Deprecated.  
protected  double[][] subRow0
          Deprecated.  
protected  double[][] subRow3
          Deprecated.  
protected  double[][] subRows00Cols33
          Deprecated.  
protected  double[][] subRows01Cols23
          Deprecated.  
protected  double[][] subRows02Cols13
          Deprecated.  
protected  double[][] subRows03Cols12
          Deprecated.  
protected  double[][] subRows03Cols123
          Deprecated.  
protected  double[][] subRows20Cols123
          Deprecated.  
protected  double[][] subRows23Cols00
          Deprecated.  
protected  double[][] subRows31Cols31
          Deprecated.  
protected  double[][] subTestData
          Deprecated.  
protected  double[][] testData
          Deprecated.  
protected  double[][] testData2
          Deprecated.  
protected  double[][] testData2T
          Deprecated.  
protected  double[] testDataCol3
          Deprecated.  
protected  double[][] testDataInv
          Deprecated.  
protected  double[][] testDataLU
          Deprecated.  
protected  double[][] testDataMinus
          Deprecated.  
protected  double[][] testDataPlus2
          Deprecated.  
protected  double[][] testDataPlusInv
          Deprecated.  
protected  double[] testDataRow1
          Deprecated.  
protected  double[] testVector
          Deprecated.  
protected  double[] testVector2
          Deprecated.  
 
Constructor Summary
RealMatrixImplTest(String name)
          Deprecated.  
 
Method Summary
protected  org.apache.commons.math.linear.RealMatrix permuteRows(org.apache.commons.math.linear.RealMatrix matrix, int[] permutation)
          Deprecated. 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)
          Deprecated. extracts the l and u matrices from compact lu representation
static junit.framework.Test suite()
          Deprecated.  
 void testAdd()
          Deprecated. test add
 void testAddFail()
          Deprecated. test add failure
 void testCopyFunctions()
          Deprecated. test copy functions
 void testCopySubMatrix()
          Deprecated.  
 void testDimensions()
          Deprecated. test dimensions
 void testEqualsAndHashCode()
          Deprecated.  
 void testExamples()
          Deprecated. test examples in user guide
 void testFrobeniusNorm()
          Deprecated. test Frobenius norm
 void testGetColumn()
          Deprecated.  
 void testGetColumnMatrix()
          Deprecated.  
 void testGetColumnVector()
          Deprecated.  
 void testGetEntry()
          Deprecated.  
 void testGetRow()
          Deprecated.  
 void testGetRowMatrix()
          Deprecated.  
 void testGetRowVector()
          Deprecated.  
 void testGetSubMatrix()
          Deprecated.  
 void testGetVectors()
          Deprecated.  
 void testMath209()
          Deprecated. test issue MATH-209
 void testMultiply()
          Deprecated. test multiply
 void testMultiply2()
          Deprecated.  
 void testNorm()
          Deprecated. test norm
 void testOperate()
          Deprecated. test operate
 void testPlusMinus()
          Deprecated. test m-n = m + -n
 void testPremultiply()
          Deprecated.  
 void testPremultiplyVector()
          Deprecated. test preMultiply by vector
 void testScalarAdd()
          Deprecated. test sclarAdd
 void testSerial()
          Deprecated.  
 void testSetColumn()
          Deprecated.  
 void testSetColumnMatrix()
          Deprecated.  
 void testSetColumnVector()
          Deprecated.  
 void testSetRow()
          Deprecated.  
 void testSetRowMatrix()
          Deprecated.  
 void testSetRowVector()
          Deprecated.  
 void testSetSubMatrix()
          Deprecated.  
 void testToString()
          Deprecated.  
 void testTrace()
          Deprecated. test trace
 void testTranspose()
          Deprecated. test transpose
 void testWalk()
          Deprecated.  
 
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

id

protected double[][] id
Deprecated. 

testData

protected double[][] testData
Deprecated. 

testDataLU

protected double[][] testDataLU
Deprecated. 

testDataPlus2

protected double[][] testDataPlus2
Deprecated. 

testDataMinus

protected double[][] testDataMinus
Deprecated. 

testDataRow1

protected double[] testDataRow1
Deprecated. 

testDataCol3

protected double[] testDataCol3
Deprecated. 

testDataInv

protected double[][] testDataInv
Deprecated. 

preMultTest

protected double[] preMultTest
Deprecated. 

testData2

protected double[][] testData2
Deprecated. 

testData2T

protected double[][] testData2T
Deprecated. 

testDataPlusInv

protected double[][] testDataPlusInv
Deprecated. 

luData

protected double[][] luData
Deprecated. 

luDataLUDecomposition

protected double[][] luDataLUDecomposition
Deprecated. 

singular

protected double[][] singular
Deprecated. 

bigSingular

protected double[][] bigSingular
Deprecated. 

detData

protected double[][] detData
Deprecated. 

detData2

protected double[][] detData2
Deprecated. 

testVector

protected double[] testVector
Deprecated. 

testVector2

protected double[] testVector2
Deprecated. 

subTestData

protected double[][] subTestData
Deprecated. 

subRows02Cols13

protected double[][] subRows02Cols13
Deprecated. 

subRows03Cols12

protected double[][] subRows03Cols12
Deprecated. 

subRows03Cols123

protected double[][] subRows03Cols123
Deprecated. 

subRows20Cols123

protected double[][] subRows20Cols123
Deprecated. 

subRows31Cols31

protected double[][] subRows31Cols31
Deprecated. 

subRows01Cols23

protected double[][] subRows01Cols23
Deprecated. 

subRows23Cols00

protected double[][] subRows23Cols00
Deprecated. 

subRows00Cols33

protected double[][] subRows00Cols33
Deprecated. 

subRow0

protected double[][] subRow0
Deprecated. 

subRow3

protected double[][] subRow3
Deprecated. 

subColumn1

protected double[][] subColumn1
Deprecated. 

subColumn3

protected double[][] subColumn3
Deprecated. 

entryTolerance

protected double entryTolerance
Deprecated. 

normTolerance

protected double normTolerance
Deprecated. 
Constructor Detail

RealMatrixImplTest

public RealMatrixImplTest(String name)
Deprecated. 
Method Detail

suite

public static junit.framework.Test suite()
Deprecated. 

testDimensions

public void testDimensions()
Deprecated. 
test dimensions


testCopyFunctions

public void testCopyFunctions()
Deprecated. 
test copy functions


testAdd

public void testAdd()
Deprecated. 
test add


testAddFail

public void testAddFail()
Deprecated. 
test add failure


testNorm

public void testNorm()
Deprecated. 
test norm


testFrobeniusNorm

public void testFrobeniusNorm()
Deprecated. 
test Frobenius norm


testPlusMinus

public void testPlusMinus()
Deprecated. 
test m-n = m + -n


testMultiply

public void testMultiply()
Deprecated. 
test multiply


testMultiply2

public void testMultiply2()
Deprecated. 

testTrace

public void testTrace()
Deprecated. 
test trace


testScalarAdd

public void testScalarAdd()
Deprecated. 
test sclarAdd


testOperate

public void testOperate()
Deprecated. 
test operate


testMath209

public void testMath209()
Deprecated. 
test issue MATH-209


testTranspose

public void testTranspose()
Deprecated. 
test transpose


testPremultiplyVector

public void testPremultiplyVector()
Deprecated. 
test preMultiply by vector


testPremultiply

public void testPremultiply()
Deprecated. 

testGetVectors

public void testGetVectors()
Deprecated. 

testGetEntry

public void testGetEntry()
Deprecated. 

testExamples

public void testExamples()
Deprecated. 
test examples in user guide


testGetSubMatrix

public void testGetSubMatrix()
Deprecated. 

testCopySubMatrix

public void testCopySubMatrix()
Deprecated. 

testGetRowMatrix

public void testGetRowMatrix()
Deprecated. 

testSetRowMatrix

public void testSetRowMatrix()
Deprecated. 

testGetColumnMatrix

public void testGetColumnMatrix()
Deprecated. 

testSetColumnMatrix

public void testSetColumnMatrix()
Deprecated. 

testGetRowVector

public void testGetRowVector()
Deprecated. 

testSetRowVector

public void testSetRowVector()
Deprecated. 

testGetColumnVector

public void testGetColumnVector()
Deprecated. 

testSetColumnVector

public void testSetColumnVector()
Deprecated. 

testGetRow

public void testGetRow()
Deprecated. 

testSetRow

public void testSetRow()
Deprecated. 

testGetColumn

public void testGetColumn()
Deprecated. 

testSetColumn

public void testSetColumn()
Deprecated. 

testEqualsAndHashCode

public void testEqualsAndHashCode()
Deprecated. 

testToString

public void testToString()
Deprecated. 

testSetSubMatrix

public void testSetSubMatrix()
                      throws Exception
Deprecated. 
Throws:
Exception

testWalk

public void testWalk()
Deprecated. 

testSerial

public void testSerial()
Deprecated. 

splitLU

protected void splitLU(org.apache.commons.math.linear.RealMatrix lu,
                       double[][] lowerData,
                       double[][] upperData)
                throws org.apache.commons.math.linear.InvalidMatrixException
Deprecated. 
extracts the l and u matrices from compact lu representation

Throws:
org.apache.commons.math.linear.InvalidMatrixException

permuteRows

protected org.apache.commons.math.linear.RealMatrix permuteRows(org.apache.commons.math.linear.RealMatrix matrix,
                                                                int[] permutation)
Deprecated. 
Returns the result of applying the given row permutation to the matrix



Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.