[Numpy-discussion] dot() function question

x.piter@gmai... x.piter@gmai...
Wed Jun 27 16:38:15 CDT 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')
Thanks.
Petro.






More information about the NumPy-Discussion mailing list