[Rahul].
> I want to compute dot product of two vectors stored as lists a and b.a
> and b are of the same length

from scipy import dot
ans=dot(a,b)

This times faster than the alternatives I have seen mentioned so far,
given scipy.

Cheers,
Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to