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.
Version:
1.0
Author:
Christian Fries
Date:
2008-04-06
  • Method Details

    • 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