[Numpy-discussion] using numpy array data in C++ matrix template library (MTL) matrices

David Cournapeau david at ar.media.kyoto-u.ac.jp
Wed Apr 8 03:18:08 EDT 2009


David Cournapeau wrote:
> The details will depend on your matrix library, but the underlying numpy
> array object has a full C api, so you can do whatever you want with it
> in your C++ code. But it can get quite messy :)
>
> I don't know for MTL, and for C++, boost can be useful, like Neal
> suggested. One thing to keep in mind is that C arrays are much more
> general 
Sorry, this should read "keep in mind that *numpy* C array are much more
general",

cheers,

David



More information about the NumPy-Discussion mailing list