[Numpy-discussion] dot() function question

x.piter at gmail.com x.piter at gmail.com
Wed Jun 27 17:38:15 EDT 2012

Hi list.
I have got completely cunfused with the numpy.dot() function.
dot(A,B) does:
- matrix multiplication if A and B are of MxN and NxK sizey
- dot product if A and B are of size M
How how can I perform matrix multiplication of two vectors?
(in matlab I do it like a*a')

More information about the NumPy-Discussion mailing list