C API; numeric arrays

Curtis Jensen cjensen at bioeng.ucsd.edu
Thu Aug 3 16:22:29 EDT 2000


Randy Heiland wrote:
> 
> I'm doing an embedded Python project (using the C API) and would like to
> return numeric arrays.  Does someone have a recommended solution?  Is
> Py_BuildValue  the routine to use?
> 
> thanks,
> --Randy

The Numeric module (http://www.python.org/topics/scicomp/) does have a
CAPI. You can pass numerica arrays between python and C with it.

-- 
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451



More information about the Python-list mailing list