View Source Integrator.RungeKutta behaviour (Integrator v0.1.1)
A behaviour that Runge-Kutta algorithms must implement. Currently, Integrator.DormandPrince45
and Integrator.BogackiShampine23
implement this behaviour.
See the list of Runge-Kutta methods
Link to this section Summary
Callbacks
Integrates an ODE function
Interpolates using the method that is suitable for this particular Runge-Kutta method
The order of this Runge-Kutta method
Link to this section Types
Link to this section Callbacks
@callback integrate( ode_fn :: ode_fn_t(), t :: Nx.t(), x :: Nx.t(), dt :: Nx.t(), k_vals :: Nx.t(), t_next :: Nx.t() ) :: {x_next :: Nx.t(), x_est :: Nx.t(), k_new :: Nx.t()}
Integrates an ODE function
Interpolates using the method that is suitable for this particular Runge-Kutta method
@callback order() :: integer()
The order of this Runge-Kutta method