scipy 1.10.1 Pypi GitHub Homepage
Other Docs

ParametersReturnsBackRef
solve_ivp(fun, t_span, y0, method='RK45', t_eval=None, dense_output=False, events=None, vectorized=False, args=None, **options)

Parameters

fun : callable
t_span : 2-member sequence
y0 : array_like, shape (n,)
method : string or `OdeSolver`, optional
t_eval : array_like or None, optional
dense_output : bool, optional
events : callable, or list of callables, optional
vectorized : bool, optional
args : tuple, optional
**options :
first_step : float or None, optional
max_step : float, optional
rtol, atol : float or array_like, optional
jac : array_like, sparse_matrix, callable or None, optional
jac_sparsity : array_like, sparse matrix or None, optional
lband, uband : int or None, optional
min_step : float, optional

Returns

Bunch object with the following fields defined:
t : ndarray, shape (n_points,)
y : ndarray, shape (n, n_points)
sol : `OdeSolution` or None
t_events : list of ndarray or None
y_events : list of ndarray or None
nfev : int
njev : int
nlu : int
status : int
message : string
success : bool

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.integrate._ivp.ivp:find_active_events scipy.integrate._odepack_py:odeint

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/integrate/_ivp/ivp.py#156
type: <class 'function'>
Commit: