Class RungeKutta1
- java.lang.Object
-
- dev.nm.analysis.differentialequation.ode.ivp.solver.rungekutta.RungeKutta1
-
- All Implemented Interfaces:
RungeKuttaStepper
public class RungeKutta1 extends Object implements RungeKuttaStepper
This is the first-order Runge-Kutta formula, which is the same as the Euler method. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge-Kutta method.- See Also:
- D. Greenspan, Numerical Solution of Ordinary Differential Equations: for Classical, Relativistic and Nano Systems, 1st ed, Wiley-VCH, 2006.
- Wikipedia: Euler method
-
-
Constructor Summary
Constructors Constructor Description RungeKutta1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
step(DerivativeFunction dy, Vector y0, double x0, double x1, double h)
-
-
-
Method Detail
-
step
public Vector step(DerivativeFunction dy, Vector y0, double x0, double x1, double h)
- Specified by:
step
in interfaceRungeKuttaStepper
-
-