[Numpy-discussion] Why is the shape of a singleton array the empty tuple?
Ian Mallett
geometrian@gmail....
Sun Mar 7 00:26:45 CST 2010
On Sat, Mar 6, 2010 at 9:46 PM, David Goldsmith <d.l.goldsmith@gmail.com>wrote:
> Thanks, Ian. I already figured out how to make it not so, but I still want
> to understand the design reasoning behind it being so in the first place
> (thus the use of the question "why (is it so)," not "how (to make it
> different)").
>
Well, I can't help you with that. I would also ask why this design even
exists? Equating an array with a single number doesn't make sense to me.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100306/b2301bdd/attachment.html
More information about the NumPy-Discussion
mailing list