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

David Cournapeau david@ar.media.kyoto-u.ac...
Wed Apr 8 02:18:08 CDT 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