gistlib
main.pyimport numpy as np matrix = np.array([[1, 2], [3, 4]]) vector = np.array([1, 2]) result = np.dot(matrix, vector) print(result) 129 chars8 lines
import numpy as np matrix = np.array([[1, 2], [3, 4]]) vector = np.array([1, 2]) result = np.dot(matrix, vector) print(result)
gistlibby LogSnag