10 Feb
2009
10 Feb
'09
8:02 a.m.
On Tuesday 10 February 2009 11:11:38 Markus Rosenstihl wrote:
i usually do something like this:
a = random.rand(3000) a.resize((1000,3)) vec_norms = sqrt(sum(a**2,axis=1))
If you look at the patch I posted (OK, that was some weeks ago, so I'll attach it again for your convenience), that's (more or less) exactly what I proposed. Have a nice day, Hans