org.apache.commons.math.linear
Class MatrixUtilsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.math.linear.MatrixUtilsTest
- All Implemented Interfaces:
- junit.framework.Test
public final class MatrixUtilsTest
- extends junit.framework.TestCase
Test cases for the MatrixUtils
class.
- Version:
- $Revision: 480442 $ $Date: 2006-11-29 00:21:22 -0700 (Wed, 29 Nov 2006) $
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
testData
protected double[][] testData
nullMatrix
protected double[][] nullMatrix
row
protected double[] row
bigRow
protected java.math.BigDecimal[] bigRow
stringRow
protected java.lang.String[] stringRow
rowMatrix
protected double[][] rowMatrix
bigRowMatrix
protected java.math.BigDecimal[][] bigRowMatrix
stringRowMatrix
protected java.lang.String[][] stringRowMatrix
col
protected double[] col
bigCol
protected java.math.BigDecimal[] bigCol
stringCol
protected java.lang.String[] stringCol
nullDoubleArray
protected double[] nullDoubleArray
colMatrix
protected double[][] colMatrix
bigColMatrix
protected java.math.BigDecimal[][] bigColMatrix
stringColMatrix
protected java.lang.String[][] stringColMatrix
MatrixUtilsTest
public MatrixUtilsTest(java.lang.String name)
setUp
public void setUp()
- Overrides:
setUp
in class junit.framework.TestCase
suite
public static junit.framework.Test suite()
testCreateRealMatrix
public void testCreateRealMatrix()
testCreateBigMatrix
public void testCreateBigMatrix()
testCreateRowRealMatrix
public void testCreateRowRealMatrix()
testCreateRowBigMatrix
public void testCreateRowBigMatrix()
testCreateColumnRealMatrix
public void testCreateColumnRealMatrix()
testCreateColumnBigMatrix
public void testCreateColumnBigMatrix()
checkIdentityMatrix
protected void checkIdentityMatrix(org.apache.commons.math.linear.RealMatrix m)
- Verifies that the matrix is an identity matrix
testCreateIdentityMatrix
public void testCreateIdentityMatrix()
checkIdentityBigMatrix
protected void checkIdentityBigMatrix(org.apache.commons.math.linear.BigMatrix m)
- Verifies that the matrix is an identity matrix
testCreateBigIdentityMatrix
public void testCreateBigIdentityMatrix()
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.