Documentation of 'net.finmath.rootfinder.RootFinderWithDerivative' Java class
RootFinderWithDerivative
net.finmath.rootfinder

Interface RootFinderWithDerivative

  • All Known Implementing Classes:
    AbstractRootFinder, NewtonsMethod, SecantMethod


    public interface RootFinderWithDerivative
    This is the interface for a one dimensional root finder implemented as an question-and-answer algorithm.
    • 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 previous getNextPoint call.
        derivative - The derivative corresponding to the point returned by previous getNextPoint call.
      • 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

Ads help maintain this website.