[Numpy-discussion] Examples of basic C API usage?
Karol Langner
karol.langner at kn.pl
Tue Aug 8 09:45:49 EDT 2006
On Tuesday 08 of August 2006 05:18, Bill Baxter wrote:
> 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
Have you looked here?
http://numeric.scipy.org/numpydoc/numpy-13.html#pgfId-36640
Karol
--
written by Karol Langner
wto sie 8 15:45:16 CEST 2006
More information about the NumPy-Discussion
mailing list