|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface specifies methods to check if a root-finding algorithm has converged. Deciding if convergence has been reached is a problem-dependent issue. The user should provide a class implementing this interface to allow the root-finding algorithm to stop its search according to the problem at hand.
| Field Summary | |
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. |
| Method Summary | |
int |
converged(double xLow,
double fLow,
double xHigh,
double fHigh)
Check if the root-finding algorithm has converged on the interval. |
| Field Detail |
public static final int NONE
public static final int LOW
public static final int HIGH
| Method Detail |
public 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 interval
NONE,
LOW or HIGH
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||