org.apache.commons.math.ode
Class ClassicalRungeKuttaIntegrator
java.lang.Object
org.apache.commons.math.ode.RungeKuttaIntegrator
org.apache.commons.math.ode.ClassicalRungeKuttaIntegrator
- All Implemented Interfaces:
- FirstOrderIntegrator
public class ClassicalRungeKuttaIntegrator
- extends RungeKuttaIntegrator
This class implements the classical fourth order Runge-Kutta
integrator for Ordinary Differential Equations (it is the most
often used Runge-Kutta method).
This method is an explicit Runge-Kutta method, its Butcher-array
is the following one :
0 | 0 0 0 0
1/2 | 1/2 0 0 0
1/2 | 0 1/2 0 0
1 | 0 0 1 0
|--------------------
| 1/6 1/3 1/3 1/6
- Since:
- 1.2
- Version:
- $Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
- See Also:
EulerIntegrator
,
GillIntegrator
,
MidpointIntegrator
,
ThreeEighthesIntegrator
Method Summary |
java.lang.String |
getName()
Get the name of the method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassicalRungeKuttaIntegrator
public ClassicalRungeKuttaIntegrator(double step)
- Simple constructor.
Build a fourth-order Runge-Kutta integrator with the given
step.
- Parameters:
step
- integration step
getName
public java.lang.String getName()
- Get the name of the method.
- Specified by:
getName
in interface FirstOrderIntegrator
- Specified by:
getName
in class RungeKuttaIntegrator
- Returns:
- name of the method
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.