[SciPy-user] ode on complex systems

Fabrice Silva Fabrice.Silva@crans....
Fri Nov 16 09:19:08 CST 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