Deprecated
as of 3.6 replaced with FieldBracketingNthOrderBrentSolver
The changes with respect to the original Brent algorithm are:
AllowedSolution,| Access | Constructor and Description |
|---|---|
| public | BracketingNthOrderBrentSolverDFP(final Dfp
Relative accuracy. relativeAccuracy, final Dfp Absolute accuracy. absoluteAccuracy, final Dfp Function value accuracy. functionValueAccuracy, final int maximal order. maximalOrder)Construct a solver. |
| Modifier and Type | Method and Description |
|---|---|
| public Dfp | Returns: absolute accuracyOverrides org. Implements org. Get the absolute accuracy. |
| public Dfp | Returns: function accuracyImplements org. Get the function accuracy. |
| public Dfp | Returns: relative accuracyOverrides org. Implements org. Get the relative accuracy. |
| public Dfp | Returns: a value where the function is zero.Maximum number of evaluations. maxEval, final UnivariateDfpFunction Function to solve. f, final Dfp Lower bound for the interval. min, final Dfp Upper bound for the interval. max, final AllowedSolution The kind of solutions that the root-finding algorithm may
accept as solutions. allowedSolution)
Deprecated
as a consequence of
UnivariateDfpFunction being deprecated.
Solve for a zero in the given interval. |
| public Dfp | Returns: a value where the function is zero.Maximum number of evaluations. maxEval, final UnivariateDfpFunction Function to solve. f, final Dfp Lower bound for the interval. min, final Dfp Upper bound for the interval. max, final Dfp Start value to use. startValue, final AllowedSolution The kind of solutions that the root-finding algorithm may
accept as solutions. allowedSolution)
Deprecated
as a consequence of
UnivariateDfpFunction being deprecated.
Solve for a zero in the given interval, start at |
| BracketingNthOrderBrentSolverDFP | back to summary |
|---|---|
| public BracketingNthOrderBrentSolverDFP(final Dfp relativeAccuracy, final Dfp absoluteAccuracy, final Dfp functionValueAccuracy, final int maximalOrder) throws NumberIsTooSmallException Construct a solver.
| |
| getAbsoluteAccuracy | back to summary |
|---|---|
| public Dfp getAbsoluteAccuracy() Overrides org. Implements org. Get the absolute accuracy. | |
| getFunctionValueAccuracy | back to summary |
|---|---|
| public Dfp getFunctionValueAccuracy() Implements org. Get the function accuracy. | |
| getRelativeAccuracy | back to summary |
|---|---|
| public Dfp getRelativeAccuracy() Overrides org. Implements org. Get the relative accuracy. | |
| solve | back to summary |
|---|---|
| public Dfp solve(final int maxEval, final UnivariateDfpFunction f, final Dfp min, final Dfp max, final AllowedSolution allowedSolution) throws NullArgumentException, NoBracketingException
Deprecated as a consequence of Solve for a zero in the given interval. A solver may require that the interval brackets a single zero root. Solvers that do require bracketing should be able to handle the case where one of the endpoints is itself a root.
| |
| solve | back to summary |
|---|---|
| public Dfp solve(final int maxEval, final UnivariateDfpFunction f, final Dfp min, final Dfp max, final Dfp startValue, final AllowedSolution allowedSolution) throws NullArgumentException, NoBracketingException
Deprecated as a consequence of Solve for a zero in the given interval, start at
| |