[Numpy-discussion] performing operations in-place in numpy
Charles R Harris
Wed Jul 8 16:16:31 CDT 2009
On Wed, Jul 8, 2009 at 11:34 AM, Citi, Luca <firstname.lastname@example.org> 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...
More information about the NumPy-Discussion