[Numpy-discussion] Accessing a C library from numarray

Bruce Southey southey at uiuc.edu
Fri Aug 20 07:52:09 CDT 2004


Hi,
I need to access a GLP'ed C library in numarray. The library functions are
scalar ints and doubles as inputs and usually doubles as outputs. 

Is there a recommended (and simple) way to achieve this? There are a few
different  C API's that exist from the Python to numarrays.

Would it be sufficient to first write C code that uses the library and use that
code for a C API in Python or numarray?

Thanks,

Bruce Southey




More information about the Numpy-discussion mailing list