[Numpy-discussion] swig numpy2carray converters

Neal Becker ndbecker2 at gmail.com
Tue Nov 20 09:54:53 EST 2007


Christopher Barker wrote:

> 
> 
> Georg Holzmann wrote:
>> Because I had some troubles in wrapping my C++ library in python/numpy,
>> I did (another) numpy2carray.i file for SWIG.
> 
> How is this better/different than numpy.i in:
> 
> numpy/doc/swig/numpy.i
> 
>> With that interface file it is possible to input/output arrays with or
>> without copying data
> 
> numpy.i support that too.
> 
>> (I also included an example for an interface to
>> fortran style arrays).
> 
> That, it doesn't have.
> 
> Just trying to keep too much effort from being duplicated....
> 
> -Chris
> 

Is there any doc on numpy.i usage?




More information about the NumPy-Discussion mailing list