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 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 ODE
        x - the times, x-axis, grid points, or the variable values
        Returns:
        the function values, y, at the grid points