|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIntegrator
RK4
RK4 is an abstract subclass of Integrator. The integrate method is implemented to perform 4th order Runge-Kutta integration.
Field Summary |
Fields inherited from class Integrator |
steps, x, x0, x1, y, y0 |
Constructor Summary | |
RK4(double xStart,
double xEnd,
Point yStart,
int steps)
Constructor to instantiate RK4 - never called directly. |
Method Summary | |
Point |
integrate()
Method which performs RK4 numerical integration, requires that function has been implemented in a subclass. |
Methods inherited from class Integrator |
function, getIV, getLocation, run, setEnd, setSteps, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RK4(double xStart, double xEnd, Point yStart, int steps)
Method Detail |
public Point integrate()
integrate
in class Integrator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |