|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.robotics.ode.Euler javax.robotics.ode.RungeKutta4th
public class RungeKutta4th
This class implements RungeKutta4th integration method.
Field Summary |
---|
Fields inherited from interface javax.robotics.ode.Solver |
---|
startTime |
Constructor Summary | |
---|---|
RungeKutta4th(double dt,
RVector initialCondition,
DerivableFunction target)
Defines numerical integration RungeKutta4th for x' = f(x) differential equation. |
Method Summary | |
---|---|
void |
step(RVector x)
Computes step integration from time t to t+dt of x' = f(x). |
Methods inherited from class javax.robotics.ode.Euler |
---|
getInitialCondition, getLastValue, getSampleTime, getTime, setInitialCondition, setSampleTime, xDot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RungeKutta4th(double dt, RVector initialCondition, DerivableFunction target)
dt
- time interval of integration [sec]initialCondition
- initial condition at time zero x(0).target
- differential equation to be integratedMethod Detail |
---|
public void step(RVector x)
Solver
step
in interface Solver
step
in class Euler
x
- argument of f(x)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |