num::rk45¶
Defined in header <ode/ode.hpp>
template <typename RHS = ode_rhs_fn, typename State = vec<real>>
requires vector_space<State> && std::invocable<RHS &, real, const State &, State &>
basic_rk45_steps<RHS, State> rk45(RHS f, State y0, ode_params p = {});
Return the steps of the adaptive Dormand–Prince method (RK45), computed as they are read: \(\dot{y} = f(t, y)\).