org.apache.commons.math3.linear
Class BlockFieldMatrixTest

java.lang.Object
  extended by org.apache.commons.math3.linear.BlockFieldMatrixTest

public final class BlockFieldMatrixTest
extends Object

Test cases for the BlockFieldMatrix class.

Version:
$Id: BlockFieldMatrixTest.java 1364030 2012-07-21 01:10:04Z erans $

Field Summary
protected  Fraction[][] bigSingular
           
protected  Fraction[][] detData
           
protected  Fraction[][] detData2
           
protected  double entryTolerance
           
protected  Fraction[][] id
           
protected  Fraction[][] luData
           
protected  Fraction[][] luDataLUDecomposition
           
protected  double normTolerance
           
protected  Fraction[] preMultTest
           
protected  Fraction[][] singular
           
protected  Fraction[][] subColumn1
           
protected  Fraction[][] subColumn3
           
protected  Fraction[][] subRow0
           
protected  Fraction[][] subRow3
           
protected  Fraction[][] subRows00Cols33
           
protected  Fraction[][] subRows01Cols23
           
protected  Fraction[][] subRows02Cols13
           
protected  Fraction[][] subRows03Cols12
           
protected  Fraction[][] subRows03Cols123
           
protected  Fraction[][] subRows20Cols123
           
protected  Fraction[][] subRows23Cols00
           
protected  Fraction[][] subRows31Cols31
           
protected  Fraction[][] subTestData
           
protected  Fraction[][] testData
           
protected  Fraction[][] testData2
           
protected  Fraction[][] testData2T
           
protected  Fraction[] testDataCol3
           
protected  Fraction[][] testDataInv
           
protected  Fraction[][] testDataLU
           
protected  Fraction[][] testDataMinus
           
protected  Fraction[][] testDataPlus2
           
protected  Fraction[][] testDataPlusInv
           
protected  Fraction[] testDataRow1
           
protected  Fraction[] testVector
           
protected  Fraction[] testVector2
           
 
Constructor Summary
BlockFieldMatrixTest()
           
 
Method Summary
 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 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 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Fraction[][] id

testData

protected Fraction[][] testData

testDataLU

protected Fraction[][] testDataLU

testDataPlus2

protected Fraction[][] testDataPlus2

testDataMinus

protected Fraction[][] testDataMinus

testDataRow1

protected Fraction[] testDataRow1

testDataCol3

protected Fraction[] testDataCol3

testDataInv

protected Fraction[][] testDataInv

preMultTest

protected Fraction[] preMultTest

testData2

protected Fraction[][] testData2

testData2T

protected Fraction[][] testData2T

testDataPlusInv

protected Fraction[][] testDataPlusInv

luData

protected Fraction[][] luData

luDataLUDecomposition

protected Fraction[][] luDataLUDecomposition

singular

protected Fraction[][] singular

bigSingular

protected Fraction[][] bigSingular

detData

protected Fraction[][] detData

detData2

protected Fraction[][] detData2

testVector

protected Fraction[] testVector

testVector2

protected Fraction[] testVector2

subTestData

protected Fraction[][] subTestData

subRows02Cols13

protected Fraction[][] subRows02Cols13

subRows03Cols12

protected Fraction[][] subRows03Cols12

subRows03Cols123

protected Fraction[][] subRows03Cols123

subRows20Cols123

protected Fraction[][] subRows20Cols123

subRows31Cols31

protected Fraction[][] subRows31Cols31

subRows01Cols23

protected Fraction[][] subRows01Cols23

subRows23Cols00

protected Fraction[][] subRows23Cols00

subRows00Cols33

protected Fraction[][] subRows00Cols33

subRow0

protected Fraction[][] subRow0

subRow3

protected Fraction[][] subRow3

subColumn1

protected Fraction[][] subColumn1

subColumn3

protected Fraction[][] subColumn3

entryTolerance

protected double entryTolerance

normTolerance

protected double normTolerance
Constructor Detail

BlockFieldMatrixTest

public BlockFieldMatrixTest()
Method Detail

testDimensions

public void testDimensions()
test dimensions


testCopyFunctions

public void testCopyFunctions()
test copy functions


testAdd

public void testAdd()
test add


testAddFail

public void testAddFail()
test add failure


testPlusMinus

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


testMultiply

public void testMultiply()
test multiply


testSeveralBlocks

public void testSeveralBlocks()

testMultiply2

public void testMultiply2()

testTrace

public void testTrace()
test trace


testScalarAdd

public void testScalarAdd()
test scalarAdd


testOperate

public void testOperate()
test operate


testOperateLarge

public void testOperateLarge()

testOperatePremultiplyLarge

public void testOperatePremultiplyLarge()

testMath209

public void testMath209()
test issue MATH-209


testTranspose

public void testTranspose()
test transpose


testPremultiplyVector

public void testPremultiplyVector()
test preMultiply by vector


testPremultiply

public void testPremultiply()

testGetVectors

public void testGetVectors()

testGetEntry

public void testGetEntry()

testExamples

public void testExamples()
test examples in user guide


testGetSubMatrix

public void testGetSubMatrix()

testGetSetMatrixLarge

public void testGetSetMatrixLarge()

testCopySubMatrix

public void testCopySubMatrix()

testGetRowMatrix

public void testGetRowMatrix()

testSetRowMatrix

public void testSetRowMatrix()

testGetSetRowMatrixLarge

public void testGetSetRowMatrixLarge()

testGetColumnMatrix

public void testGetColumnMatrix()

testSetColumnMatrix

public void testSetColumnMatrix()

testGetSetColumnMatrixLarge

public void testGetSetColumnMatrixLarge()

testGetRowVector

public void testGetRowVector()

testSetRowVector

public void testSetRowVector()

testGetSetRowVectorLarge

public void testGetSetRowVectorLarge()

testGetColumnVector

public void testGetColumnVector()

testSetColumnVector

public void testSetColumnVector()

testGetSetColumnVectorLarge

public void testGetSetColumnVectorLarge()

testGetRow

public void testGetRow()

testSetRow

public void testSetRow()

testGetSetRowLarge

public void testGetSetRowLarge()

testGetColumn

public void testGetColumn()

testSetColumn

public void testSetColumn()

testGetSetColumnLarge

public void testGetSetColumnLarge()

testEqualsAndHashCode

public void testEqualsAndHashCode()

testToString

public void testToString()

testSetSubMatrix

public void testSetSubMatrix()

testWalk

public void testWalk()

testSerial

public void testSerial()


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.