[Numpy-discussion] access ndarray in C++
Stéfan van der Walt
Wed Apr 23 10:34:31 CDT 2008
2008/4/23 Tommy Grav <email@example.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
numpyctypes is np.ctypeslib, I assume.
More information about the Numpy-discussion