bundles / scipy 1.17.1 / scipy / integrate / _ivp / ivp / find_active_events
function
scipy.integrate._ivp.ivp:find_active_events
Signature
def find_active_events ( g , g_new , direction ) Summary
Find which event occurred during an integration step.
Parameters
g, g_new: array_like, shape (n_events,)Values of event functions at a current and next points.
direction: ndarray, shape (n_events,)Event "direction" according to the definition in solve_ivp.
Returns
active_events: ndarrayIndices of events which occurred during the step.
Aliases
-
scipy.integrate._ivp.ivp.find_active_events