scipy.integrate.complex_ode

class scipy.integrate.complex_ode(f, jac=None)

A wrapper of ode for complex systems.

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 : 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)

Examples

For usage examples, see ode.

Attributes

t float Current time
y ndarray Current variable values

Methods

integrate
set_f_params
set_initial_value
set_integrator
set_jac_params
successful

This Page