A matrix is a rectangular array of numbers (or symbols or expressions) arranged in rows and columns.
β β
β 1 2 3 β
β Β΅ β β β
β β
The dimensions of this matrix are 2x3 ("two by three"). In notations concerning matrices, the rows are always first, the columns last.
Individual items in an nΓm matrix A, denoted a[i,j] (i <= n, j <= m) are called its elements or entries.
Identity matrix
Identity matrix is a square matrix in which all the elements of the main (major, principal, leading) diagonal are ones and all other elements are zeros.