SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.integrate.complex_ode.set_solout

complex_ode.set_solout(self, solout)[source]

Set callable to be called at every successful integration step.

Parameters
soloutcallable

solout(t, y) is called at each internal integrator step, t is a scalar providing the current independent position y is the current soloution y.shape == (n,) solout should return -1 to stop integration otherwise it should return None or 0

Previous topic

scipy.integrate.complex_ode.set_jac_params

Next topic

scipy.integrate.complex_ode.successful