Author: Not specified Language: python
Description: Not specified Timestamp: 2018-06-03 18:53:55 +0000
View raw paste Reply
  1. def multiply(M, vectors):
  2.     newVect = np.array([[0,0,0] for i in range(len(vectors))], dtype=float)
  3.     for i in range(len(vectors)):
  4.         newVect[i] = M.dot(vectors[i])
  5.     return newVect
View raw paste Reply