[Numpy-discussion] Fastest distance matrix calc

Markus Rosenstihl markusro@element.fkp.physik.tu-darmstadt...
Tue Apr 17 10:36:19 CDT 2007


Or

f = sqrt(dot(x,x))


Am 17.04.2007 um 16:12 schrieb Sturla Molden:

> f = lambda x : sqrt(sum(x**2))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070417/657e526c/attachment.bin 


More information about the Numpy-discussion mailing list