[Numpy-discussion] Fastest distance matrix calc

Markus Rosenstihl markusro at element.fkp.physik.tu-darmstadt.de
Tue Apr 17 11:36:19 EDT 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://mail.python.org/pipermail/numpy-discussion/attachments/20070417/657e526c/attachment.sig>


More information about the NumPy-Discussion mailing list