Re: [Numpy-discussion] Getting data from NDarrays to Blitz++ and back again

2010-04-06 Thread Philip Sterne
ython. (Irrespective of any pointers held by the other side.) I find for my purposes that this is sufficient since I just want to be able to peer into the workings of a c++ program. -Philip. Philip Sterne wrote: Hi all, I hope this is the correct place to post my question. I'd like

[Numpy-discussion] Getting data from NDarrays to Blitz++ and back again

2010-04-03 Thread Philip Sterne
Hi all, 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.) However I believe this so