[Numpy-discussion] swig numpy2carray converters

Christopher Barker Chris.Barker@noaa....
Mon Nov 19 16:55:37 CST 2007



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

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the Numpy-discussion mailing list