March 6, 2010
9:42 a.m.
2010/3/5 Ian Mallett <geometrian@gmail.com>:
#takes 0.04 seconds inner = np.inner(ns, v1s - some_point)
Ok, I don't know why I was able to overlook this: dotprod = (ns * (v1s - some_point)).sum(axis = 1) The things with the inner product have been deleted. Now I will really *attach* it ... Hope it's faster, Friedrich