pub fn enhanced_lsoda_method<F, Func>(
f: Func,
t_span: [F; 2],
y0: Array1<F>,
opts: ODEOptions<F>,
) -> IntegrateResult<ODEResult<F>>Expand description
Solve ODE using enhanced LSODA method with improved stiffness detection
This enhanced LSODA method features:
- More sophisticated stiffness detection algorithms
- Improved method switching logic
- Better Jacobian handling and reuse
- More efficient linear system solving
- Comprehensive diagnostics and statistics
The method automatically switches between Adams methods (explicit, non-stiff) and BDF methods (implicit, stiff) based on detected stiffness characteristics.