[Numpy-discussion] Consider improving numpy.outer's behavior with zero-dimensional vectors

Sebastian Berg sebastian at sipsolutions.net
Fri Apr 17 10:07:49 EDT 2015

On Do, 2015-04-16 at 15:28 -0700, Matthew Brett wrote:
> Hi,
> So, how about a slight modification of your proposal?
> 1) Raise deprecation warning for np.outer for non 1D arrays for a few
> versions, with depraction in favor of np.multiply.outer, then
> 2) Raise error for np.outer on non 1D arrays

I think that was Neil's proposal a bit earlier, too. +1 for it in any
case, since at least for the moment I doubt outer is used a lot for non
1-d arrays. Possible step 3) make it work on higher dims after a long

- Sebastian

> Best,
> Matthew
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150417/f94d1cca/attachment.sig>

More information about the NumPy-Discussion mailing list