pub fn bdf_method<F, Func>(
f: Func,
t_span: [F; 2],
y0: Array1<F>,
opts: ODEOptions<F>,
) -> IntegrateResult<ODEResult<F>>Expand description
Solve ODE using the Backward Differentiation Formula (BDF) method
BDF is an implicit multistep method particularly suited for stiff problems. It is more computationally expensive per step than explicit methods but can take much larger steps for stiff problems, resulting in overall better performance for such systems.
§Arguments
f- ODE function dy/dt = f(t, y)t_span- Time span [t_start, t_end]y0- Initial conditionopts- Solver options
§Returns
The solution as an ODEResult or an error