Is there a better way to achieve the following, perhaps without the
python for loop?

>>> x.shape
(10000,3)
>>> y.shape
(10000,3)
>>> z = empty(len(x))
>>> for i in range(10000):
...    z[i] = dot(x[i], y[i])
...
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to