[Numpy-discussion] performing operations in-place in numpy

Charles R Harris charlesr.harris@gmail....
Wed Jul 8 17:30:05 CDT 2009

On Wed, Jul 8, 2009 at 4:17 PM, Citi, Luca <lciti@essex.ac.uk> wrote:

> > On thing to keep in mind is that the inputs might be different views of
> the
> > same array so the elements might accessed in an unexpected order.
> Only inputs owning their own data and with refcount 1 (i.e. no other array
> can be a view of it)
> are re-used as outputs.
> _____

In that case I don't see a problem offhand. That said, I haven't looked at
the code yet.

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

More information about the NumPy-Discussion mailing list