[Numpy-discussion] performing operations in-place in numpy
Charles R Harris
Wed Jul 8 17:30:05 CDT 2009
On Wed, Jul 8, 2009 at 4:17 PM, Citi, Luca <email@example.com> wrote:
> > On thing to keep in mind is that the inputs might be different views of
> > 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...
More information about the NumPy-Discussion