[Numpy-discussion] Fastest distance matrix calc

Sturla Molden sturla@molden...
Tue Apr 17 09:12:01 CDT 2007


On 4/17/2007 3:57 PM, Matthieu Brucher wrote:

> Is there a function that does the square root of the sum of squares ?

hm ...

f = lambda x : sqrt(sum(x**2))



S.M.


More information about the Numpy-discussion mailing list