scipy 1.8.0 Pypi GitHub Homepage
Other Docs

To remove in the future –– scipy.integrate._ode

First-order ODE integrators.

User-friendly interface to various numerical integrators for solving a system of first order ODEs with prescribed initial conditions:

d y(t)[i]
---------  = f(t,y(t))[i],
   d t

y(t=0)[i] = y0[i],

where:

i = 0, ..., len(y0) - 1

class ode

A generic interface class to numeric integrators. It has the following methods:

integrator = ode(f, jac=None)
integrator = integrator.set_integrator(name, **params)
integrator = integrator.set_initial_value(y0, t0=0.0)
integrator = integrator.set_f_params(*args)
integrator = integrator.set_jac_params(*args)
y1 = integrator.integrate(t1, step=False, relax=False)
flag = integrator.successful()

class complex_ode

This class has the same generic interface as ode, except it can handle complex f, y and Jacobians by transparently translating them into the equivalent real-valued system. It supports the real-valued solvers (i.e., not zvode) and is an alternative to ode with the zvode solver, sometimes performing better.

Examples

See :

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/_ode.py#0
type: <class 'module'>
Commit: