dop853_method

Function dop853_method 

Source
pub fn dop853_method<F, Func>(
    f: Func,
    t_span: [F; 2],
    y0: Array1<F>,
    opts: ODEOptions<F>,
) -> IntegrateResult<ODEResult<F>>
where F: IntegrateFloat, Func: Fn(F, ArrayView1<'_, F>) -> Array1<F>,
Expand description

Re-exports Solve ODE using the Dormand-Prince 8th order method (DOP853)

This is a high-accuracy adaptive step size method based on embedded Runge-Kutta formulas. It uses an 8th-order method with a 5th-order error estimate and 3rd-order correction.

§Arguments

  • f - ODE function dy/dt = f(t, y)
  • t_span - Time span [t_start, t_end]
  • y0 - Initial condition
  • opts - Solver options

§Returns

The solution as an ODEResult or an error