pub fn rk45_method<F, Func>(
f: Func,
t_span: [F; 2],
y0: Array1<F>,
opts: ODEOptions<F>,
) -> IntegrateResult<ODEResult<F>>Expand description
Re-exports Solve ODE using the Dormand-Prince method (RK45)
This is an adaptive step size method based on embedded Runge-Kutta formulas. It uses a 5th-order method with a 4th-order error estimate.
§Arguments
f- ODE function dy/dt = f(t, y)t_span- Time span [t_start, t_end]y0- Initial conditionopts- Solver options
§Returns
The solution as an ODEResult or an error