[Numpy-discussion] Getting data from NDarrays to Blitz++ and back again
Fernando Perez
fperez.net at gmail.com
Tue Apr 6 16:11:29 EDT 2010
On Sat, Apr 3, 2010 at 2:28 PM, Philip Sterne <pjs67 at cam.ac.uk> wrote:
> I hope this is the correct place to post my question. I'd like python to
> interface with c++ code that makes heavy use of Blitz++ arrays. After a
> day's hacking I appear to have a simple working solution which I am
> attaching. (It uses Boost.Python and CMake.)
You may want to have a look at the blitz support in scipy.weave:
http://svn.scipy.org/svn/scipy/trunk/scipy/weave/blitz_spec.py
http://svn.scipy.org/svn/scipy/trunk/scipy/weave/blitz_tools.py
Cheers,
f
More information about the NumPy-Discussion
mailing list