All Packages Class Hierarchy This Package Previous Next Index
Interface CH.epfl.lcvm.mccc.RootFinder
- public interface RootFinder
A interface which defines a root finder
-
findRoot(Matrix)
- Returns a root of the function given the inputed initial guess
-
setTolerance(double)
- Sets the tolerance for the newton solver
findRoot
public abstract Matrix findRoot(Matrix value) throws MCCCException
- Returns a root of the function given the inputed initial guess
- Parameters:
- value - Initial guess to the root finder
- Returns:
- the value of the root
- Throws: MCCCException
- In case the method doesn't
converge it throws this exception
setTolerance
public abstract void setTolerance(double tolerance)
- Sets the tolerance for the newton solver
- Parameters:
- tolerance - The new tolerance
All Packages Class Hierarchy This Package Previous Next Index