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 | 
|---|---|
| protected double | doSolve()Deprecated.  Method for implementing actual optimization algorithms in derived
 classes. | 
| double | solve(int maxEval,
     DifferentiableUnivariateFunction f,
     double min,
     double max)Deprecated.  Find a zero near the midpoint of  minandmax. | 
computeDerivativeObjectiveValue, setupcomputeObjectiveValue, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, solve, solve, verifyBracketing, verifyInterval, verifySequenceclone, equals, finalize, 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.protected double doSolve()
                  throws TooManyEvaluationsException
doSolve in class BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction>TooManyEvaluationsException - if the maximal number of evaluations
 is exceeded.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.