|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.doodleproject.numerics4j.integration.TrapezoidalIntegrator.IterativeState
static class TrapezoidalIntegrator.IterativeState
The internal state used during root finding.
Constructor Summary | |
---|---|
TrapezoidalIntegrator.IterativeState(Function f,
double low,
double up)
Create a state object for the given initial root approximation. |
Method Summary | |
---|---|
int |
getIterations()
Access the current iteration. |
double |
getResult()
Access the result of this root finding. |
void |
iterate()
Perform the next iteration of finding a root. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
TrapezoidalIntegrator.IterativeState(Function f, double low, double up) throws NumericException
f
- the target function.low
- the lower limit of integration.up
- the upper limit of integration.
NumericException
- if function cannot be evaluated
at the limits of integration.Method Detail |
---|
public int getIterations()
public void iterate() throws NumericException
NumericException
- if the function could not be evaluated.public double getResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |