Interface ODEIntegrator
-
- All Known Implementing Classes:
RungeKuttaIntegrator
public interface ODEIntegrator
This defines the interface for the numerical integration of a first order ODE, for a sequence of pre-defined steps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vector[]
integrate(ODE1stOrder ode, double[] x)
This is the integration method that approximates the solution of a first order ODE.
-
-
-
Method Detail
-
integrate
Vector[] integrate(ODE1stOrder ode, double[] x)
This is the integration method that approximates the solution of a first order ODE.- Parameters:
ode
- the ODEx
- the times, x-axis, grid points, or the variable values- Returns:
- the function values, y, at the grid points
-
-