Package com.irurueta.numerical.roots
Class SecantSingleRootEstimatorTest
java.lang.Object
com.irurueta.numerical.roots.SecantSingleRootEstimatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double
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 static final int
-
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:
-
TIMES
private static final int TIMES- See Also:
-
constant
private double constant -
root1
private double root1 -
root2
private double root2 -
root3
private double root3 -
constantPolynomial
-
firstDegreePolynomial
-
secondDegreePolynomial
-
secondDegreePolynomialWithTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener secondDegreePolynomialWithTwoComplexConjugateRoots -
thirdDegreePolynomial
-
thirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots
private final SingleDimensionFunctionEvaluatorListener thirdDegreePolynomialWithOneRealRootAndTwoComplexConjugateRoots
-
-
Constructor Details
-
SecantSingleRootEstimatorTest
SecantSingleRootEstimatorTest()
-
-
Method Details
-
testConstructor
-
testGetSetListenerAvailabilityAndIsReady
- Throws:
LockedException
NotAvailableException
-
testSetBracketGetEvaluationPointsAndAvailability
@Test void testSetBracketGetEvaluationPointsAndAvailability() throws NotAvailableException, LockedException, InvalidBracketRangeException -
testGetSetTolerance
- Throws:
LockedException
-
testEstimate
@Test void testEstimate() throws LockedException, NotReadyException, InvalidBracketRangeException, RootEstimationException, NotAvailableException
-