[Numpy-discussion] PyArray_Zeros

Hanni Ali hanni.ali@gmail....
Tue Jan 27 08:45:51 CST 2009


I have been having trouble with the PyArray_Zeros/PyArray_ZEROS functions. I
cannot seem to create an array using these functions.

resultArray = PyArray_ZEROS(otherArray->nd, otherArray->dimensions,

I would have thought this would have created an array the same shape as the
otherArray, just filled with zeros...

But I seem to get an error.

Am I doing something obviously wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20090127/a580aeb8/attachment.html 

More information about the Numpy-discussion mailing list