NewtonRaphsonSolver@Deprecated public class NewtonSolver extends AbstractDifferentiableUnivariateSolver
The function should be continuous but not necessarily smooth.
| Constructor and Description |
|---|
NewtonSolver()
Deprecated.
Construct a solver.
|
NewtonSolver(double absoluteAccuracy)
Deprecated.
Construct a solver.
|
| Modifier and Type | Method and Description |
|---|---|
double |
solve(int maxEval,
DifferentiableUnivariateFunction f,
double min,
double max)
Deprecated.
Find a zero near the midpoint of
min and max. |
getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, solve, solveequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMaxEvaluations, getRelativeAccuracy, solve, solvepublic NewtonSolver()
public NewtonSolver(double absoluteAccuracy)
absoluteAccuracy - Absolute accuracy.public double solve(int maxEval,
DifferentiableUnivariateFunction f,
double min,
double max)
throws TooManyEvaluationsException
min and max.solve in interface BaseUnivariateSolver<DifferentiableUnivariateFunction>solve in class BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction>f - Function to solve.min - Lower bound for the interval.max - Upper bound for the interval.maxEval - Maximum number of evaluations.TooManyEvaluationsException - if the maximum evaluation count is exceeded.NumberIsTooLargeException - if min >= max.Jas4pp 1.5 © Java Analysis Studio for Particle Physics