public interface ConvergenceChecker
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH
Indicator for convergence on the higher bound of the interval.
|
static int |
LOW
Indicator for convergence on the lower bound of the interval.
|
static int |
NONE
Indicator for no convergence.
|
| Modifier and Type | Method and Description |
|---|---|
int |
converged(double xLow,
double fLow,
double xHigh,
double fHigh)
Check if the root-finding algorithm has converged on the interval.
|
static final int NONE
static final int LOW
static final int HIGH
int converged(double xLow,
double fLow,
double xHigh,
double fHigh)
xLow - abscissa of the lower bound of the intervalfLow - value of the function the lower bound of the intervalxHigh - abscissa of the higher bound of the intervalfHigh - value of the function the higher bound of the intervalNONE,
LOW or HIGHCopyright © 2001-2007 Luc Maisonobe. All Rights Reserved.