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

Charles R Harris charlesr.harris@gmail....
Wed Jul 8 16:16:31 CDT 2009

On Wed, Jul 8, 2009 at 11:34 AM, Citi, Luca <lciti@essex.ac.uk> wrote:

> Hello guys,
> I made a patch for numpy which allows performing
> operations in-place to save memory allocations.
> For example 'sqrt(a**2 + b**2)' can be performed

I think this particular function is already available as a ufunc. What might
be interesting is to use generalized ufuncs to implement various
norms/products so that no copies would be needed.

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

More information about the NumPy-Discussion mailing list