bundles / scipy 1.17.1 / scipy / integrate / _ivp / radau / predict_factor
function
scipy.integrate._ivp.radau:predict_factor
Signature
def predict_factor ( h_abs , h_abs_old , error_norm , error_norm_old ) Summary
Predict by which factor to increase/decrease the step size.
Extended Summary
The algorithm is described in [1].
Parameters
h_abs, h_abs_old: floatCurrent and previous values of the step size,
h_abs_oldcan be None (see Notes).error_norm, error_norm_old: floatCurrent and previous values of the error norm,
error_norm_oldcan be None (see Notes).
Returns
factor: floatPredicted factor.
Notes
If h_abs_old and error_norm_old are both not None then a two-step algorithm is used, otherwise a one-step algorithm is used.
Aliases
-
scipy.integrate._ivp.radau.predict_factor