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

Citi, Luca lciti@essex.ac...
Wed Jul 8 17:17:51 CDT 2009


> 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.


More information about the NumPy-Discussion mailing list