Forward Euler landed in #242. This issue tracks the RK4 integrator.
Add transient::rk4 following the same structure as transient::euler:
solve / solve_unobserved API
- Own
Config, Solution, Error, Event, Action types
Event emitted after each accepted step
Action::StopEarly for observer-controlled termination
Design note
RK4 uses four intermediate evaluations per step (k1–k4), none of which should trigger finalize_step — that hook runs only on the accepted step, same as Euler.
References
Forward Euler landed in #242. This issue tracks the RK4 integrator.
Add
transient::rk4following the same structure astransient::euler:solve/solve_unobservedAPIConfig,Solution,Error,Event,ActiontypesEventemitted after each accepted stepAction::StopEarlyfor observer-controlled terminationDesign note
RK4 uses four intermediate evaluations per step (k1–k4), none of which should trigger
finalize_step— that hook runs only on the accepted step, same as Euler.References