Expand description
Auto-generated module
🤖 Generated with SplitRS
Traits§
- OdeSystem
- Trait representing the right-hand side of an ODE system
dy/dt = f(t, y).
Functions§
- adaptive_
rk45 - Adaptive RK45 integration using Dormand-Prince.
- euler_
step - Euler forward step:
y_new = y + dt * dydt - implicit_
euler_ step - Implicit Euler step: solve
(I - dt*J) * y_new = y + dt*rhs. - leapfrog_
step - Leapfrog step (Störmer-Verlet).
- mixed_
error_ norm - Compute the mixed absolute/relative RMS error norm.
- rk2_
step - RK2 midpoint method (Heun’s method):
y_new = y + dt * f(y + 0.5*dt*f(y)) - rk4_
step - Classic RK4 step.
- rk45_
step - Dormand-Prince RK45 adaptive step.
- solve_
linear_ system - Solves a linear system
A * x = busing Gaussian elimination with partial pivoting. - velocity_
verlet - Velocity-Verlet step.