[Numpy-discussion] use of the PyArray_SETITEM numpy method

Michel Dupront michel.dupront@hotmail...
Wed Dec 22 03:55:30 CST 2010


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


More information about the NumPy-Discussion mailing list