A square matrix has the same number of rows as columns , so m = n.
A square matrix is a matrix which has the same number of rows and columns .