definition of matrix
In mathematics, a matrix (plural matrices) is a rectangular array âof numbers, symbols, or expressions, arranged in rows and columns âthat is interpreted and manipulated in certain prescribed ways. square matrix is a matrix with the same number of rows and columns. An n-by-n matrix is known as a square matrix of order n. Any two square matrices of the same order can be added and multiplied. The entries a ii form the main diagonal of a square matrix.