abstract static class DoubleMatrixSparseTest.MathTester extends Object
Constructor and Description |
---|
MathTester() |
Modifier and Type | Method and Description |
---|---|
static void |
tester(double[][] inputValues,
String operation,
org.djunits.value.vdouble.matrix.AbstractDoubleMatrix<?,?> actualResult,
double precision,
DoubleMatrixSparseTest.DoubleToDouble function)
Test a math function.
|
public static void tester(double[][] inputValues, String operation, org.djunits.value.vdouble.matrix.AbstractDoubleMatrix<?,?> actualResult, double precision, DoubleMatrixSparseTest.DoubleToDouble function)
inputValues
- double[][]; unprocessed valueoperation
- String; description of method that is being testedactualResult
- DoubleMatrix<?>; the actual result of the operationprecision
- double; expected accuracyfunction
- DoubleToDouble; encapsulated function that converts one inputValue to an outputValueCopyright © 2015–2019 Delft University of Technology. All rights reserved.