UnivariateSolver, PolynomialSolver or DifferentiableUnivariateSolver.
UnivariateSolver, PolynomialSolver, DifferentiableUnivariateSolver
| Modifier and Type | Method and Description |
|---|---|
| public double | |
| public int | Returns: the number of evaluations of the objective function.Get the number of evaluations of the objective function. |
| public double | Returns: the function value accuracy.Get the function value accuracy of the solver. |
| public int | Returns: the maximum number of function evaluations.Get the maximum number of function evaluations. |
| public double | |
| public double | Returns: a value where the function is zero.Maximum number of evaluations. maxEval, FUNC Function to solve. f, double Lower bound for the interval. min, double Upper bound for the interval. max)Solve for a zero root in the given interval. |
| public double | Returns: a value where the function is zero.Maximum number of evaluations. maxEval, FUNC Function to solve. f, double Lower bound for the interval. min, double Upper bound for the interval. max, double Start value to use. startValue)Solve for a zero in the given interval, start at |
| public double | Returns: a value where the function is zero.Maximum number of evaluations. maxEval, FUNC Function to solve. f, double Start value to use. startValue)Solve for a zero in the vicinity of |
| getAbsoluteAccuracy | back to summary |
|---|---|
| public double getAbsoluteAccuracy() Get the absolute accuracy of the solver. Solutions returned by the
solver should be accurate to this tolerance, i.e., if ε is the
absolute accuracy of the solver and
| |
| getEvaluations | back to summary |
|---|---|
| public int getEvaluations() Get the number of evaluations of the objective function.
The number of evaluations corresponds to the last call to the
| |
| getFunctionValueAccuracy | back to summary |
|---|---|
| public double getFunctionValueAccuracy() Get the function value accuracy of the solver. If
| |
| getMaxEvaluations | back to summary |
|---|---|
| public int getMaxEvaluations() Get the maximum number of function evaluations.
| |
| getRelativeAccuracy | back to summary |
|---|---|
| public double getRelativeAccuracy() Get the relative accuracy of the solver. The contract for relative
accuracy is the same as
| |
| solve | back to summary |
|---|---|
| public double solve(int maxEval, FUNC f, double min, double max) throws MathIllegalArgumentException, TooManyEvaluationsException Solve for a zero root 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 double solve(int maxEval, FUNC f, double min, double max, double startValue) throws MathIllegalArgumentException, TooManyEvaluationsException Solve for a zero in the given interval, start at
| |
| solve | back to summary |
|---|---|
| public double solve(int maxEval, FUNC f, double startValue) Solve for a zero in the vicinity of
| |