
April 23, 2008
3:34 p.m.
2008/4/23 Tommy Grav <tgrav@mac.com>:
On Apr 22, 2008, at 9:56 PM, Joris De Ridder wrote:
On http://www.scipy.org/JorisDeRidder I've just put an example how I passed multidimensional Numpy arrays to C++ using ctypes. Perhaps it's helpful for your application. I didn't put it in the cookbook yet, because I would first like to test it a bit more. Up to now I didn't experience any bugs though.
Joris
As a total newbie in the field of extensions, where do I find ndarray.h and numpyctypes?
import numpy as np print np.get_include() numpyctypes is np.ctypeslib, I assume. Regards Stéfan