[Numpy-discussion] MultiIter version of PyArray_IterAllButAxis ?
Wed Dec 1 22:00:25 CST 2010
On Wed, Dec 1, 2010 at 7:56 PM, David <firstname.lastname@example.org> wrote:
> On 12/02/2010 12:35 PM, John Salvatier wrote:
> > Hello,
> > I am writing a UFunc creation utility, and I would like to know: is
> > there a way to mimic the behavior ofPyArray_IterAllButAxis for multiple
> > arrays at a time?
> Is there a reason why creating a separate iterator for each array is not
> possible ?
If the arrays are not the same shape, separate iterators won't be aligned,
so if the results are going into a broadcasted result array, the computation
won't be correct.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion