public abstract class IterativeMethod extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
IterativeMethod.IterativeState
The current state for an iterative method.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumIterations()
Access the maximum number of iterations.
|
double |
getMaximumRelativeError()
Access the maximum relative error.
|
void |
iterate(IterativeMethod.IterativeState state)
Perform the iterative evaluation.
|
void |
setMaximumIterations(int iterations)
Modify the maximum number of iterations.
|
void |
setMaximumRelativeError(double error)
Modify the maximum relative error.
|
public int getMaximumIterations()
public double getMaximumRelativeError()
public void iterate(IterativeMethod.IterativeState state) throws NumericException
state - the state for this iterative method evaluation.NumericException - if a solution to the iterative method can not be
computed.public void setMaximumIterations(int iterations)
iterations - the new maximum number of iterations value.public void setMaximumRelativeError(double error)
error - the new maximum relative error.DMelt 2.0 © DataMelt by jWork.ORG