|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.mathtools.RootFinder1D
RootFinder1D
is the superclass of solving methods for f(x) = 0 where f : R->R.
By convention if the precision is not reached, then the number of iterations is MAXITERATION and the variable NITER is set to -1.
Field Summary | |
int |
MAXITERATION
This value fixes the maximum number of iterations in the algorithm. |
int |
NITER
This value indicates the number of iterations to obtain the convergence. |
double |
PRECISION
This value represents the precision of the solution. |
Constructor Summary | |
RootFinder1D()
|
Method Summary | |
abstract double |
find(IyFx f,
double x0,
double x1)
Finds the root of a numeric and scalar function f. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double PRECISION
public int MAXITERATION
public int NITER
Constructor Detail |
public RootFinder1D()
Method Detail |
public abstract double find(IyFx f, double x0, double x1)
IyFx
- f, a function.double
- x0, x1, values that bracket the root.RootSolverException.
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |