net.finmath.rootfinder
Interface RootFinderWithDerivative
-
- All Known Implementing Classes:
- AbstractRootFinder, NewtonsMethod, SecantMethod
public interface RootFinderWithDerivativeThis is the interface for a one dimensional root finder implemented as an question-and-answer algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetAccuracy()doublegetBestPoint()doublegetNextPoint()intgetNumberOfIterations()booleanisDone()voidsetValueAndDerivative(double value, double derivative)
-
-
-
Method Detail
-
getNextPoint
double getNextPoint()
- Returns:
- Next point for which a value should be set using
setValue.
-
setValueAndDerivative
void setValueAndDerivative(double value, double derivative)- Parameters:
value- The value corresponding to the point returned by previousgetNextPointcall.derivative- The derivative corresponding to the point returned by previousgetNextPointcall.
-
getNumberOfIterations
int getNumberOfIterations()
- Returns:
- Returns the numberOfIterations.
-
getAccuracy
double getAccuracy()
- Returns:
- Returns the accuracy.
-
isDone
boolean isDone()
- Returns:
- Returns the isDone.
-
getBestPoint
double getBestPoint()
- Returns:
- Best point optained so far
-
-
DataMelt 3.0 © DataMelt by jWork.ORG