| java.lang.Object org.apache.commons.math.analysis.UnivariateRealSolverImpl org.apache.commons.math.analysis.NewtonSolver
NewtonSolver | public class NewtonSolver extends UnivariateRealSolverImpl (Code) | | Implements
Newton's Method for finding zeros of real univariate functions.
The function should be continuous but not necessarily smooth.
version: $Revision: 348791 $ $Date: 2005-11-24 12:50:36 -0700 (Thu, 24 Nov 2005) $ |
Method Summary | |
public double | solve(double min, double max) Find a zero near the midpoint of min and max . | public double | solve(double min, double max, double startValue) Find a zero near the value startValue .
Parameters: min - the lower bound for the interval (ignored). Parameters: max - the upper bound for the interval (ignored). Parameters: startValue - the start value to use. |
Methods inherited from org.apache.commons.math.analysis.UnivariateRealSolverImpl | final protected void clearResult()(Code)(Java Doc) public double getAbsoluteAccuracy()(Code)(Java Doc) public double getFunctionValueAccuracy()(Code)(Java Doc) public int getIterationCount()(Code)(Java Doc) public int getMaximalIterationCount()(Code)(Java Doc) public double getRelativeAccuracy()(Code)(Java Doc) public double getResult()(Code)(Java Doc) protected boolean isBracketing(double lower, double upper, UnivariateRealFunction f) throws FunctionEvaluationException(Code)(Java Doc) protected boolean isSequence(double start, double mid, double end)(Code)(Java Doc) public void resetAbsoluteAccuracy()(Code)(Java Doc) public void resetFunctionValueAccuracy()(Code)(Java Doc) public void resetMaximalIterationCount()(Code)(Java Doc) public void resetRelativeAccuracy()(Code)(Java Doc) public void setAbsoluteAccuracy(double accuracy)(Code)(Java Doc) public void setFunctionValueAccuracy(double accuracy)(Code)(Java Doc) public void setMaximalIterationCount(int count)(Code)(Java Doc) public void setRelativeAccuracy(double accuracy)(Code)(Java Doc) final protected void setResult(double result, int iterationCount)(Code)(Java Doc) protected void verifyBracketing(double lower, double upper, UnivariateRealFunction f) throws FunctionEvaluationException(Code)(Java Doc) protected void verifyInterval(double lower, double upper)(Code)(Java Doc) protected void verifySequence(double lower, double initial, double upper)(Code)(Java Doc)
|
|
|