[Numpy-discussion] Examples of basic C API usage?

Bill Baxter wbaxter at gmail.com
Mon Aug 7 22:18:17 CDT 2006


I see Pyrex and SWIG examples in numpy/doc but there doesn't seem to be an
example of just a simple straightforward usage of the C-API.
For instance make a few arrays by hand in C and then call numpy.multiply()
on them.  So far my attempts to call PyArray_SimpleNewFromData all result in
segfaults.
Anyone have such an example?

--Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060808/8716b080/attachment.html 


More information about the Numpy-discussion mailing list