|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dwvisser.math.RungeKutta4
| Constructor Summary | |
RungeKutta4(DiffEquations de)
|
|
| Method Summary | |
double[] |
dumbIntegral(double start,
double end,
double[] initValues,
int numberOfSteps)
|
void |
setVariables(double evaluateAt,
double[] initialValues,
double interval)
See numerical recipes Section 16.1 |
double[] |
step()
Almost verbatim routine rk4 in Numerical Recipes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RungeKutta4(DiffEquations de)
| Method Detail |
public void setVariables(double evaluateAt,
double[] initialValues,
double interval)
public double[] step()
public double[] dumbIntegral(double start,
double end,
double[] initValues,
int numberOfSteps)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||