[f2py] wrapping C/C++
kristukat at physik.TU-Berlin.DE
Mon Feb 28 20:28:25 EET 2005
On Mon, 28 Feb 2005, Burlen wrote:
> Hi, I want to wrap c++ code with f2py, because I need to pass multidimensional arrays between python and c and I like the Numeric arrays in python.
> Does any one have a how to? or some simple example?
I don't know if that can be achieved with f2py. Isn't it for wrapping
fortran only? But you could try scipy.weave. I'm using it quite a lot. You
can easily have inline C/C++ code in the python source.
There's a very good overview at
Christian Kristukat ::
Institut fuer Festkoerperphysik, TU Berlin ======
kristukat at physik.tu-berlin.de ||||||
Tel. +49-30-31422083, FAX +49-30-31427705 --------
More information about the f2py-users