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