{ } Raw JSON

bundles / scipy 1.17.1 / scipy / integrate / _ode / complex_ode

class

scipy.integrate._ode:complex_ode

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

Signature

class   complex_ode ( f jac = None )

Members

Summary

A wrapper of ode for complex systems.

Extended Summary

This functions similarly as ode, but re-maps a complex-valued equation system to a real-valued one before using the integrators.

Parameters

f : callable ``f(t, y, *f_args)``

Rhs of the equation. t is a scalar, y.shape == (n,). f_args is set by calling set_f_params(*args).

jac : callable ``jac(t, y, *jac_args)``

Jacobian of the rhs, jac[i,j] = d f[i] / d y[j]. jac_args is set by calling set_f_params(*args).

Attributes

t : float

Current time.

y : ndarray

Current variable values.

Examples

For usage examples, see `ode`.

Aliases

  • scipy.integrate.complex_ode