Module numerical

Module numerical 

Source
Expand description

Numerical methods for solving ODEs

Provides numerical solvers for first-order ordinary differential equations when symbolic solutions are not available or practical. Includes:

  • Euler method: Simple first-order method for basic problems
  • Runge-Kutta 4th order (RK4): Classic fourth-order accurate method
  • Adaptive RKF45: Runge-Kutta-Fehlberg with automatic step size control

All methods work with floating-point functions f(x, y) representing dy/dx = f(x, y).

Re-exports§

pub use adaptive::rkf45_method;
pub use adaptive::solve_adaptive;
pub use adaptive::AdaptiveConfig;
pub use euler::euler_method;
pub use euler::solve_euler;
pub use runge_kutta::rk4_method;
pub use runge_kutta::solve_rk4;

Modules§

adaptive
Adaptive step size methods for numerical ODE solving
euler
Euler’s method for numerical ODE solving
runge_kutta
Runge-Kutta 4th order method for numerical ODE solving