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

Lev Givon lev@columbia....
Mon Jan 7 12:12:24 CST 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.


More information about the SciPy-user mailing list