[Numpy-discussion] Options for wrapping C and C++ code for use with Numeric

Paulo J. S. Silva pjssilva at ime.usp.br
Fri Nov 4 06:03:45 CST 2005


Chris,

I have written an wrapper to some COIN-OR libraries for Python using
Swig. In this process I have developed some simple typemaps for
numarrays array (floating point arrays). It worked flawlessly.

I haven't changed the code for a while, but you may want to take a look
at it, specially the numarray.i file where I define the numarray
typemaps:

http://www.ime.usp.br/~pjssilva/software.html

Good luck,

Paulo





More information about the Numpy-discussion mailing list