Package com.singularsys.exttests.matrix
Class RationalMatrix2Test
java.lang.Object
com.singularsys.exttests.matrix.MatrixFieldBaseTest
com.singularsys.exttests.matrix.RationalMatrixTest
com.singularsys.exttests.matrix.RationalMatrix2Test
Tests for matrix operations using the
RationalField.-
Field Summary
Fields inherited from class com.singularsys.exttests.matrix.MatrixFieldBaseTest
jep, mfac, mfield, myFalse, myTrue, numf, PRINT_RESULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildMatrix(Object[][] data) buildVector(Object... data) protected ObjectgetNumber(double val) Create a number of the appropriate typeprotected ObjectvoidsetUp()voidMethods inherited from class com.singularsys.exttests.matrix.RationalMatrixTest
testLogical, testRationalValueMethods inherited from class com.singularsys.exttests.matrix.MatrixFieldBaseTest
checkMatrix, checkMatrix, checkValue, checkValue, equalsEle, equalsMatrix, equalsMatrix, printTestHeader, test_serialization_of_vectors_and_matrices, test_solve_with_invalid_argument_throw_exceptions, testDuplicate, testEle, testIdentity, testLightWeightComponents, testMatrixEquality, testMatrixOps, testMatZero, testMismatched_returns_null, testSize, testSolve, testTranspose
-
Constructor Details
-
RationalMatrix2Test
public RationalMatrix2Test()
-
-
Method Details
-
setUp
@BeforeEach public void setUp()- Overrides:
setUpin classRationalMatrixTest
-
testMatNaN
@Disabled("Rational does not support NaN") public void testMatNaN()- Overrides:
testMatNaNin classRationalMatrixTest
-
buildMatrix
- Overrides:
buildMatrixin classRationalMatrixTest- Throws:
EvaluationException
-
buildVector
- Overrides:
buildVectorin classRationalMatrixTest- Throws:
EvaluationException
-
getNumber
Description copied from class:MatrixFieldBaseTestCreate a number of the appropriate type- Overrides:
getNumberin classRationalMatrixTest- Parameters:
val- input- Returns:
- converted number
-
getNumber
- Overrides:
getNumberin classRationalMatrixTest- Throws:
ParseException
-