[SciPy-user] ode on complex systems

Fabrice Silva Fabrice.Silva at crans.org
Fri Nov 16 10:19:08 EST 2007


Le vendredi 16 novembre 2007 à 15:53 +0100, lorenzo bolla a écrit :
> Hi all,
> can I use any of scipy.integrate.ode/odeint etc. for complex systems? How?

You may need to separate real and imaginary parts of your complex
unknowns :
you need to transform
y(t)=[y0(t), y1(t)] with y0 and y1 complex signals
into:
y(t)=[real(y0(t)), imag(y0(t)), real (y1(t)), imag(y1(t))]

and modify your matrix M as well.

Can anyone confirm?
-- 
Fabricio





More information about the SciPy-User mailing list