Deprecated
as of 3.1, replaced by NewtonRaphsonSolver
The function should be continuous but not necessarily smooth.
| Modifier and Type | Field and Description |
|---|---|
| private static final double | DEFAULT_ABSOLUTE_ACCURACY
Default absolute accuracy. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected double | doSolve()
Implements abstract org. Method for implementing actual optimization algorithms in derived classes. |
| public double | Returns: the value where the function is zero.Maximum number of evaluations. maxEval, final DifferentiableUnivariateFunction Function to solve. f, final double Lower bound for the interval. min, final double Upper bound for the interval. max)Overrides org. Implements org.
Deprecated
as a consequence of
DifferentiableUnivariateFunction being deprecated.
Find a zero near the midpoint of |
| DEFAULT_ABSOLUTE_ACCURACY | back to summary |
|---|---|
| private static final double DEFAULT_ABSOLUTE_ACCURACY Default absolute accuracy. | |
| NewtonSolver | back to summary |
|---|---|
| public NewtonSolver() Construct a solver. | |
| NewtonSolver | back to summary |
|---|---|
| public NewtonSolver(double absoluteAccuracy) Construct a solver.
| |
| doSolve | back to summary |
|---|---|
| protected double doSolve() throws TooManyEvaluationsException Implements abstract org. Doc from org. Method for implementing actual optimization algorithms in derived classes.
| |
| solve | back to summary |
|---|---|
| public double solve(int maxEval, final DifferentiableUnivariateFunction f, final double min, final double max) throws TooManyEvaluationsException Overrides org. Implements org. Deprecated as a consequence of Find a zero near the midpoint of
| |