Class MidpointIntegrator
- java.lang.Object
-
- org.apache.commons.math.ode.AbstractIntegrator
-
- org.apache.commons.math.ode.nonstiff.RungeKuttaIntegrator
-
- org.apache.commons.math.ode.nonstiff.MidpointIntegrator
-
- All Implemented Interfaces:
FirstOrderIntegrator
,ODEIntegrator
public class MidpointIntegrator extends RungeKuttaIntegrator
This class implements a second order Runge-Kutta integrator for Ordinary Differential Equations.This method is an explicit Runge-Kutta method, its Butcher-array is the following one :
0 | 0 0 1/2 | 1/2 0 |---------- | 0 1
- Since:
- 1.2
- See Also:
EulerIntegrator
,ClassicalRungeKuttaIntegrator
,GillIntegrator
-
-
Constructor Summary
Constructors Constructor Description MidpointIntegrator(double step)
Simple constructor.
-
Method Summary
-
Methods inherited from class org.apache.commons.math.ode.nonstiff.RungeKuttaIntegrator
integrate
-
Methods inherited from class org.apache.commons.math.ode.AbstractIntegrator
addEventHandler, addStepHandler, clearEventHandlers, clearStepHandlers, computeDerivatives, getCurrentSignedStepsize, getCurrentStepStart, getEvaluations, getEventHandlers, getMaxEvaluations, getName, getStepHandlers, setMaxEvaluations
-
-