Re: [Numpy-discussion] SWIG and numpy.i

2009-03-30 Thread Kevin Françoisse
wrapper so that the python > interface gets the name you want. > > > On Mar 25, 2009, at 7:39 AM, Kevin Françoisse wrote: > > Thanks Bill, it helps me a lot ! My function works fine now. >> >> But I encounter an other problem. This time with a NumPy array of 2 >&

Re: [Numpy-discussion] SWIG and numpy.i

2009-03-25 Thread Kevin Françoisse
lling swig to wrap vecSum() before you have set up your numpy > typemaps. > > > On Mar 24, 2009, at 10:33 AM, Kevin Françoisse wrote: > > Hi everyone, >> >> I have been using NumPy for a couple of month now, as part of my research >> project at the university. Bu

[Numpy-discussion] SWIG and numpy.i

2009-03-24 Thread Kevin Françoisse
Hi everyone, I have been using NumPy for a couple of month now, as part of my research project at the university. But now, I have to use a big C library I wrote myself in a python project. So I choose to use SWIG for the interface between both my python script and my C library. To make things mo