braincell.quad.diffrax_dopri5_step

braincell.quad.diffrax_dopri5_step#

braincell.quad.diffrax_dopri5_step(target, *args)[source]#

Advance one step with diffrax’s Dormand-Prince 5(4) solver.

Wraps diffrax.Dopri5, the classical explicit Dormand-Prince fifth-order Runge-Kutta method used by SciPy’s RK45 and MATLAB’s ode45.

Parameters:
  • target (DiffEqModule) – Module whose differential states will be advanced.

  • *args – Extra positional arguments forwarded to target’s integration hooks.

Returns:

target’s state is updated in place.

Return type:

None

Raises:

ModuleNotFoundError – If diffrax is not installed.