Hi, I want to wrap some code I've done in the past with a custom array and pass numpy arrays to it. So I need to transform numpy arrays to my arrays at the construction of an instance of my class, as well as each call to a method (pass by value). Then, some method return by value an array I have to transform back in numpy arrays. I imagine that such wrappers must be done in the .i file... I'm still new to SWIG, even though I understand the easy wrapping, such wrapping is a bit difficult for me at the moment. I do not understand for instance the numpy.i wrappers, what they do, ... Is there a simpler doc somewhere to explain this ? Or a simple SWIG tutorial and a Numpy interface tutorial - Travis' book ? - ?
Matthieu
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion