edu.northwestern.at.utils.math.rootfinders
Interface RootFinderConvergenceTest
- All Known Implementing Classes:
- StandardRootFinderConvergenceTest
public interface RootFinderConvergenceTest
Interface for testing for convergence in root finders.
Method Summary |
boolean |
converged(double xNow,
double xPrev,
double fxNow,
double xTolerance,
double fxTolerance)
Interface for testing for convergence in root finders. |
converged
boolean converged(double xNow,
double xPrev,
double fxNow,
double xTolerance,
double fxTolerance)
- Interface for testing for convergence in root finders.
- Parameters:
xNow
- Current root estimate.xPrev
- Previous root estimate.fxNow
- Function value at xNow.xTolerance
- Convergence tolerance for estimates.fxTolerance
- Convergence tolerance for function values.
- Returns:
- true if convergence achieved.