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
|