Re: [Numpy-discussion] use of the PyArray_SETITEM numpy method

2010-12-22 Thread Francesc Alted
A Wednesday 22 December 2010 10:55:30 Michel Dupront escrigué: > Hello, > > Please somebody help me ! > > I am really confused with all these void that I see everywhere. > > The documentation says: > PyObject * PyArray_SETITEM(PyObject * arr, void* itemptr, PyObject* > obj) > > I created a 1D a

[Numpy-discussion] use of the PyArray_SETITEM numpy method

2010-12-22 Thread Michel Dupront
Hello, Please somebody help me ! I am really confused with all these void that I see everywhere. The documentation says: PyObject * PyArray_SETITEM(PyObject * arr, void* itemptr, PyObject* obj) I created a 1D array of doubles with PyArray_SimpleNew. Now I am in a loop of index i to feed m