SciPy

scipy.integrate.ode.integrate

ode.integrate(t, step=False, relax=False)[source]

Find y=y(t), set y as an initial condition, and return y.

Parameters
tfloat

The endpoint of the integration step.

stepbool

If True, and if the integrator supports the step method, then perform a single integration step and return. This parameter is provided in order to expose internals of the implementation, and should not be changed from its default value in most cases.

relaxbool

If True and if the integrator supports the run_relax method, then integrate until t_1 >= t and return. relax is not referenced if step=True. This parameter is provided in order to expose internals of the implementation, and should not be changed from its default value in most cases.

Returns
yfloat

The integrated value at t

Previous topic

scipy.integrate.ode.get_return_code

Next topic

scipy.integrate.ode.set_f_params