tuhinphy
Wednesday, February 19, 2014
dot product in python
In [11]: a=[1,2,3]
In [12]: b=[4,5,6]
In [13]: print np.dot(a,b)
32
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment