Expand description
System-of-ODEs solvers.
Extends all four methods to systems of ODEs of the form:
dy⃗/dx = f(x, &y⃗), y⃗(x₀) = y⃗₀Each module function returns (Vec<f64>, Vec<Vec<f64>>) — the x grid and
the state vector at each grid point.
Functions§
- adams_
bashforth - Adams-Bashforth 2-step for systems.
- euler
- Euler method for systems.
- rk4
- RK4 method for systems.