[Numpy-discussion] access ndarray in C++

Joris De Ridder Joris.DeRidder at ster.kuleuven.be
Wed Apr 23 07:11:53 EDT 2008


Hi Sebastian,

> this is a great ( short ) recipe !

Thanks!

> Could you elaborate on the line
> "You need to compile myextension.cpp and make a shared library from
> it. The easiest way is to use Scons with the constructor file: !?

David already gave the answer. Scons allows you to make shared  
libraries of your C++ code without having to worry about whether it  
should be a .dll,  a .so, or a .dylab library. Plus, it's very easy to  
install.

Cheers,
Joris


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the NumPy-Discussion mailing list