|
||||||||||
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.MatrixUtilsTest
public final class MatrixUtilsTest
Test cases for the MatrixUtils
class.
Field Summary | |
---|---|
protected BigDecimal[] |
bigCol
|
protected BigDecimal[][] |
bigColMatrix
|
protected BigDecimal[] |
bigRow
|
protected BigDecimal[][] |
bigRowMatrix
|
protected double[] |
col
|
protected double[][] |
colMatrix
|
protected org.apache.commons.math.fraction.Fraction[] |
fractionCol
|
protected org.apache.commons.math.fraction.Fraction[][] |
fractionColMatrix
|
protected org.apache.commons.math.fraction.Fraction[] |
fractionRow
|
protected org.apache.commons.math.fraction.Fraction[][] |
fractionRowMatrix
|
protected double[] |
nullDoubleArray
|
protected double[][] |
nullMatrix
|
protected double[] |
row
|
protected double[][] |
rowMatrix
|
protected String[] |
stringCol
|
protected String[][] |
stringColMatrix
|
protected String[] |
stringRow
|
protected String[][] |
stringRowMatrix
|
protected double[][] |
testData
|
Constructor Summary | |
---|---|
MatrixUtilsTest(String name)
|
Method Summary | |
---|---|
static org.apache.commons.math.fraction.Fraction[] |
asFraction(double[] data)
|
static org.apache.commons.math.fraction.Fraction[][] |
asFraction(double[][] data)
|
protected void |
checkIdentityBigMatrix(org.apache.commons.math.linear.BigMatrix m)
Deprecated. |
protected void |
checkIdentityFieldMatrix(org.apache.commons.math.linear.FieldMatrix<org.apache.commons.math.fraction.Fraction> m)
Verifies that the matrix is an identity matrix |
protected void |
checkIdentityMatrix(org.apache.commons.math.linear.RealMatrix m)
Verifies that the matrix is an identity matrix |
static junit.framework.Test |
suite()
|
void |
testBigFractionConverter()
|
void |
testCreateBigIdentityMatrix()
Deprecated. |
void |
testCreateBigMatrix()
Deprecated. |
void |
testCreateColumnBigMatrix()
Deprecated. |
void |
testCreateColumnFieldMatrix()
|
void |
testCreateColumnRealMatrix()
|
void |
testcreateFieldIdentityMatrix()
|
void |
testcreateFieldMatrix()
|
void |
testCreateIdentityMatrix()
|
void |
testCreateRealMatrix()
|
void |
testCreateRowBigMatrix()
Deprecated. |
void |
testCreateRowFieldMatrix()
|
void |
testCreateRowRealMatrix()
|
void |
testFractionConverter()
|
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[][] testData
protected double[][] nullMatrix
protected double[] row
protected BigDecimal[] bigRow
protected String[] stringRow
protected org.apache.commons.math.fraction.Fraction[] fractionRow
protected double[][] rowMatrix
protected BigDecimal[][] bigRowMatrix
protected String[][] stringRowMatrix
protected org.apache.commons.math.fraction.Fraction[][] fractionRowMatrix
protected double[] col
protected BigDecimal[] bigCol
protected String[] stringCol
protected org.apache.commons.math.fraction.Fraction[] fractionCol
protected double[] nullDoubleArray
protected double[][] colMatrix
protected BigDecimal[][] bigColMatrix
protected String[][] stringColMatrix
protected org.apache.commons.math.fraction.Fraction[][] fractionColMatrix
Constructor Detail |
---|
public MatrixUtilsTest(String name)
Method Detail |
---|
public static junit.framework.Test suite()
public void testCreateRealMatrix()
public void testcreateFieldMatrix()
@Deprecated public void testCreateBigMatrix()
public void testCreateRowRealMatrix()
public void testCreateRowFieldMatrix()
@Deprecated public void testCreateRowBigMatrix()
public void testCreateColumnRealMatrix()
public void testCreateColumnFieldMatrix()
@Deprecated public void testCreateColumnBigMatrix()
protected void checkIdentityMatrix(org.apache.commons.math.linear.RealMatrix m)
public void testCreateIdentityMatrix()
protected void checkIdentityFieldMatrix(org.apache.commons.math.linear.FieldMatrix<org.apache.commons.math.fraction.Fraction> m)
public void testcreateFieldIdentityMatrix()
public void testBigFractionConverter()
public void testFractionConverter()
public static final org.apache.commons.math.fraction.Fraction[][] asFraction(double[][] data)
public static final org.apache.commons.math.fraction.Fraction[] asFraction(double[] data)
@Deprecated protected void checkIdentityBigMatrix(org.apache.commons.math.linear.BigMatrix m)
@Deprecated public void testCreateBigIdentityMatrix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |