Class AbstractRootFinder
java.lang.Object
net.finmath.rootfinder.AbstractRootFinder
- All Implemented Interfaces:
RootFinder, RootFinderWithDerivative
public abstract class AbstractRootFinder
extends Object
implements RootFinder, RootFinderWithDerivative
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RootFinder
getAccuracy, getBestPoint, getNextPoint, getNumberOfIterations, isDone, setValueMethods inherited from interface RootFinderWithDerivative
getAccuracy, getBestPoint, getNextPoint, getNumberOfIterations, isDone
-
Constructor Details
-
AbstractRootFinder
public AbstractRootFinder()
-
-
Method Details
-
setValueAndDerivative
public void setValueAndDerivative(double value, double derivative) - Specified by:
setValueAndDerivativein interfaceRootFinderWithDerivative- Parameters:
value- The value corresponding to the point returned by previousgetNextPointcall.derivative- The derivative corresponding to the point returned by previousgetNextPointcall.
-