On Wed, Jul 8, 2009 at 11:34 AM, Citi, Luca <lc...@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.

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to