Package com.irurueta.numerical.roots
Class SafeNewtonRaphsonSingleRootEstimatorTest
java.lang.Object
com.irurueta.numerical.roots.SafeNewtonRaphsonSingleRootEstimatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private static final double
private static final double
private static final double
private static final double
private double
private double
private double
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
private final SingleDimensionFunctionEvaluatorListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
(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_TOLERANCE
private static final double MIN_TOLERANCE- See Also:
-
MAX_TOLERANCE
private static final double MAX_TOLERANCE- See Also:
-
constant
private double constant -
root1
private double root1 -
root2
private double root2 -
root3
private double root3 -
constantPolynomial
-
derivativeContantPolynomial
-
firstDegreePolynomial
-
derivativeFirstDegreePolynomial
-
secondDegreePolynomial
-
derivativeSecondDegreePolynomial
-
secondDegreePolynomialWithTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener secondDegreePolynomialWithTwoComplexConjugateRoots -
derivativeSecondDegreePolynomialWithTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener derivativeSecondDegreePolynomialWithTwoComplexConjugateRoots -
thirdDegreePolynomial
-
derivativeThirdDegreePolynomial
-
thirdDegreePolynomialWithDoubleRoot
-
derivativeThirdDegreePolynomialWithDoubleRoot
private final SingleDimensionFunctionEvaluatorListener derivativeThirdDegreePolynomialWithDoubleRoot -
thirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener thirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots -
derivativeThirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener derivativeThirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots
-
-
Constructor Details
-
SafeNewtonRaphsonSingleRootEstimatorTest
SafeNewtonRaphsonSingleRootEstimatorTest()
-
-
Method Details
-
testConstructor
-
testGetSetListenerAndDerivativeListenerAvailabilityAndIsReady
@Test void testGetSetListenerAndDerivativeListenerAvailabilityAndIsReady() throws LockedException, NotAvailableException- Throws:
LockedException
NotAvailableException
-
testSetBracketGetEvaluationPointsAndAvailability
@Test void testSetBracketGetEvaluationPointsAndAvailability() throws NotAvailableException, LockedException, InvalidBracketRangeException -
testGetSetTolerance
- Throws:
LockedException
-
testEstimate
@Test void testEstimate() throws LockedException, NotReadyException, InvalidBracketRangeException, RootEstimationException, NotAvailableException
-