Top Description Fields Constructors Methods
org.apache.commons.math3.ode.nonstiff

public Class ClassicalRungeKuttaIntegrator

extends RungeKuttaIntegrator
Class Inheritance

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
See Also
EulerIntegrator, GillIntegrator, MidpointIntegrator, ThreeEighthesIntegrator, LutherIntegrator

Field Summary

Modifier and TypeField and Description
private static final double[][]
STATIC_A

Internal weights Butcher array.

private static final double[]
STATIC_B

Propagation weights Butcher array.

private static final double[]
STATIC_C

Time steps Butcher array.

Constructor Summary

AccessConstructor and Description
public
ClassicalRungeKuttaIntegrator(final double
integration step
step
)

Simple constructor.

Method Summary

Inherited from org.apache.commons.math3.ode.nonstiff.RungeKuttaIntegrator:
integratesingleStep

Field Detail

STATIC_Aback to summary
private static final double[][] STATIC_A

Internal weights Butcher array.

STATIC_Bback to summary
private static final double[] STATIC_B

Propagation weights Butcher array.

STATIC_Cback to summary
private static final double[] STATIC_C

Time steps Butcher array.

Constructor Detail

ClassicalRungeKuttaIntegratorback to summary
public ClassicalRungeKuttaIntegrator(final double step)

Simple constructor. Build a fourth-order Runge-Kutta integrator with the given step.

Parameters
step:double

integration step