linear-algebra Definition Square Matrix A square matrix M is a matrix with equal number of rows and columns.