{ } Raw JSON

bundles / scipy 1.17.1 / scipy / integrate / _ode

module

scipy.integrate._ode

source: /scipy/integrate/_ode.py :0

Members

Summary

No Docstrings

Additional content

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.

Aliases

  • scipy.integrate._ode