From: Bill B. <wb...@gm...> - 2006-08-08 03:18:20
|
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 |