net.finmath.rootfinder
Interface RootFinder
-
- All Known Implementing Classes:
- AbstractRootFinder, BisectionSearch, RiddersMethod, SecantMethod
public interface RootFinderThis 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()voidsetValue(double value)
-
-
-
Method Detail
-
getNextPoint
double getNextPoint()
- Returns:
- Next point for which a value should be set
using
setValue.
-
setValue
void setValue(double value)
- Parameters:
value- Value corresponding to point returned by previousgetNextPointcall.
-
getNumberOfIterations
int getNumberOfIterations()
- Returns:
- Returns the numberOfIterations.
-
getBestPoint
double getBestPoint()
- Returns:
- Best point obtained so far
-
getAccuracy
double getAccuracy()
- Returns:
- Returns the accuracy.
-
isDone
boolean isDone()
- Returns:
- Returns true if further improvement is not possible.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG