[Numpy-discussion] Should arr.diagonal() return a copy or a view? (1.7 compatibility issue)
Benjamin Root
ben.root at ou.edu
Sat May 12 22:50:25 EDT 2012
On Saturday, May 12, 2012, Travis Oliphant wrote:
> Another approach would be to introduce a method:
>
> a.diag(copy=False)
>
> and leave a.diagonal() alone. Then, a.diagonal() could be deprecated over
> 2-3 releases.
>
> -Travis
>
+1
Ben Root
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120512/17777654/attachment.html>
More information about the NumPy-Discussion
mailing list