Function select_initial_step
Source pub fn select_initial_step<F, Func>(
f: &Func,
t: F,
y: &Array1<F>,
direction: F,
rtol: F,
atol: F,
) -> F
Expand description
Select an initial step size for ODE solving
§Arguments
f - ODE function
t - Initial time
y - Initial state
direction - Direction of integration (1.0 for forward, -1.0 for backward)
rtol - Relative tolerance
atol - Absolute tolerance
§Returns
Suggested initial step size