Matrices

Working with matrices

A matrix of size m × n is a rectangular table of numbers arranged in m rows and n columns. The element a_ij sits at the intersection of the i-th row and the j-th column. Addition, scalar multiplication, matrix multiplication and transposition are defined on matrices.