[Numpy-discussion] Numpy 1.6 schedule (was: Numpy 2.0 schedule)

Charles R Harris charlesr.harris@gmail....
Sat Mar 5 20:51:13 CST 2011

On Sat, Mar 5, 2011 at 7:41 PM, Charles R Harris

> On Sat, Mar 5, 2011 at 7:23 PM, Enthought <oliphant@enthought.com> wrote:
>> This should be changed back so that the former works and the later does
>> not.   It was intentional that the former worked --- it was consistent with
>> broadcasting rules.
>> A (1,20) array can be interpreted as a (20,) array.
> So should a (1,1,1,1,20) array also be interpreted as a (20,) array? From
> what you say, an arbitrary number of 1's can not only be appended on the
> left, the usual broadcasting, but an arbitrary number of 1's can also be
> removed. Is that so?
The point being, that assignment is now a special case that does not follow
the same rules as, say, addition.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110305/f891fb12/attachment.html 

More information about the NumPy-Discussion mailing list