Linear Algebra, Mathematics, Science, Computational Thinking.
commutative x = np.array([[2], [6]]) x y = np.array([[5], [2]]) y x_ty = x.T.dot(y) x_ty array([[22]]) is equivalent to y_tx = y.T.dot(x) y_tx array([[22]]) Simplification of the matrix product A = np.array([[2, 3], [1, 4], [7, 6]]) A B = np.array([[5, 3], [2, 2]]) B AB_t = A.dot(B).T AB_t