The addition of two matrix is : (A + B)i,j = Ai,j + Bi,j, where 1 ≤ i ≤ m and 1 ≤ j ≤ n.
Multiplication of two matrices are given by dot product of the corresponding row of A and the corresponding column of B, Follow the Fig below.
The transpose of an matrix A is from n-by-m matrix to the n-by-m matrix AT: (AT)i,j = Aj,i.