Class RungeKuttaIntegrator

  • All Implemented Interfaces:
    ODEIntegrator

    public class RungeKuttaIntegrator
    extends Object
    implements ODEIntegrator
    This integrator works with a single-step stepper which estimates the solution for the next step given the solution of the current step.
    • Constructor Detail

    • Method Detail

      • integrate

        public Vector[] integrate​(ODE1stOrder ode,
                                  double[] x)
        Description copied from interface: ODEIntegrator
        This is the integration method that approximates the solution of a first order ODE.
        Specified by:
        integrate in interface ODEIntegrator
        Parameters:
        ode - the ODE
        x - the times, x-axis, grid points, or the variable values
        Returns:
        the function values, y, at the grid points