a = [[1, 0], [0, 1]] >>> b = [[4, 1], [2, 2]] >>> np.dot(a, b) array([[4, 1], [2, 2]])
np.dot(3, 4) 12
np.dot([2j, 3j], [2j, 3j]) (-13+0j)