[Numpy-discussion] use of the PyArray_SETITEM numpy method

Michel Dupront michel.dupront at hotmail.fr
Wed Dec 22 04:55:30 EST 2010

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 my array with values.
What should I give for itemptr ?
Thank you  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20101222/2888ebd8/attachment.html>

More information about the NumPy-Discussion mailing list