{ } Raw JSON

bundles / scipy latest / scipy / integrate / _vode / dvode

built-in

scipy.integrate._vode:dvode

Summary

Solve real ODE system dy/dt = f(t,y) using variable-coefficient ODE solver.

Parameters

f : callable

Right-hand side function f(t, y, *args) returning dy/dt.

jac : callable or None

Jacobian function jac(t, y, *args) returning df/dy (optional).

y0 : array_like

Initial condition vector.

t0 : float

Initial time.

t1 : float

Output time.

rtol : array_like

Relative tolerance(s).

atol : array_like

Absolute tolerance(s).

itask : int

Task indicator (1-5).

istate : int

State indicator (1=first call, 2=continue, 3=continue with new params).

rwork : array_like

Real workspace array (preserves solver state between calls).

iwork : array_like

Integer workspace array (preserves solver state between calls).

mf : int

Method flag.

args : tuple, optional

Extra arguments passed to f and jac.

Returns

y : ndarray

Solution at t1.

t : float

Actual time reached (may differ from t1 if error occurred).

istate : int

State indicator (2=success, negative=error).

Aliases

  • scipy.integrate._vode.dvode