From: Karol L. <kar...@kn...> - 2006-08-08 13:46:07
|
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 |