[SciPy-user] accessing contents of complex numpy array from pyrex

Lev Givon lev at columbia.edu
Mon Jan 7 13:12:24 EST 2008


Does anyone know how to access the elements of a 1-D numpy array
containing complex values from within a function written in pyrex?
Since pyrex currently doesn't provide a straightforward interface to
complex data types, I was wondering whether there is some way to
access the real and imaginary portions of each element in the data
block of the array directly.

							L.G.



More information about the SciPy-User mailing list