public interface RootFinderConvergenceTest
Modifier and Type | Method and Description |
---|---|
boolean |
converged(double xNow,
double xPrev,
double fxNow,
double xTolerance,
double fxTolerance)
Interface for testing for convergence in root finders.
|
boolean converged(double xNow, double xPrev, double fxNow, double xTolerance, double fxTolerance)
xNow
- Current root estimate.xPrev
- Previous root estimate.fxNow
- Function value at xNow.xTolerance
- Convergence tolerance for estimates.fxTolerance
- Convergence tolerance for function values.