complex Numeric arrays

Christian Kristukat semmel at hoc.net
Mon Nov 24 12:24:23 EST 2003


Christian Kristukat wrote:
> how can I evaluate a expression like the following:
> 1/(a + jb) where j is the imaginary unit and a and b are Numeric real 
> float arrays. I don't want to have to split up the expression in real 
> and imaginary parts.

I just found it out by myself:

1/(a+b*1j)

ck





More information about the Python-list mailing list