This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / integrate / _ode / complex_ode

class

scipy.integrate._ode:complex_ode

source: build-install/usr/lib/python3.14/site-packages/scipy/integrate/_ode.py:582

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