abstract static class DoubleMatrixDenseTest.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,
DoubleMatrixDenseTest.DoubleToDouble function)
Test a math function.
|
public static void tester(double[][] inputValues, String operation, org.djunits.value.vdouble.matrix.AbstractDoubleMatrix<?,?> actualResult, double precision, DoubleMatrixDenseTest.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.