Package com.irurueta.numerical
Class SymmetricDerivativeEstimatorTest
java.lang.Object
com.irurueta.numerical.SymmetricDerivativeEstimatorTest
- All Implemented Interfaces:
com.irurueta.numerical.SingleDimensionFunctionEvaluatorListener
class SymmetricDerivativeEstimatorTest
extends Object
implements com.irurueta.numerical.SingleDimensionFunctionEvaluatorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private static final double
private double
private double
private static final int
private double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate double
derivative
(double x) double
evaluate
(double point) (package private) void
(package private) void
-
Field Details
-
MIN_EVAL_POINT
private static final double MIN_EVAL_POINT- See Also:
-
MAX_EVAL_POINT
private static final double MAX_EVAL_POINT- See Also:
-
MIN_OFFSET
private static final double MIN_OFFSET- See Also:
-
MAX_OFFSET
private static final double MAX_OFFSET- See Also:
-
MIN_WIDTH
private static final double MIN_WIDTH- See Also:
-
MAX_WIDTH
private static final double MAX_WIDTH- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
minimum
private double minimum -
width
private double width -
offset
private double offset
-
-
Constructor Details
-
SymmetricDerivativeEstimatorTest
SymmetricDerivativeEstimatorTest()
-
-
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
private double derivative(double x)
-