Package com.irurueta.numerical
Class DerivativeEstimatorTest
java.lang.Object
com.irurueta.numerical.DerivativeEstimatorTest
- All Implemented Interfaces:
com.irurueta.numerical.SingleDimensionFunctionEvaluatorListener
class DerivativeEstimatorTest
extends Object
implements com.irurueta.numerical.SingleDimensionFunctionEvaluatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
static final double
static final double
static final double
static final double
static final double
static final double
private double
private double
private double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
derivative
(double x) double
evaluate
(double point) (package private) void
(package private) void
-
Field Details
-
MIN_EVAL_POINT
public static final double MIN_EVAL_POINT- See Also:
-
MAX_EVAL_POINT
public static final double MAX_EVAL_POINT- See Also:
-
MIN_OFFSET
public static final double MIN_OFFSET- See Also:
-
MAX_OFFSET
public static final double MAX_OFFSET- See Also:
-
MIN_WIDTH
public static final double MIN_WIDTH- See Also:
-
MAX_WIDTH
public static final double MAX_WIDTH- See Also:
-
ABSOLUTE_ERROR
public static final double ABSOLUTE_ERROR- See Also:
-
minimum
private double minimum -
width
private double width -
offset
private double offset
-
-
Constructor Details
-
DerivativeEstimatorTest
DerivativeEstimatorTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testDerivative
@Test void testDerivative() throws com.irurueta.numerical.EvaluationException- Throws:
com.irurueta.numerical.EvaluationException
-
evaluate
public double evaluate(double point) - Specified by:
evaluate
in interfacecom.irurueta.numerical.SingleDimensionFunctionEvaluatorListener
-
derivative
public double derivative(double x)
-