What is Matrix ?
Matrix In mathematics , a matrix (plural: matrices ) is a rectangular array of numbers , symbols , or expressions , arranged in rows and columns . For example, the dimensions of the matrix below are 2 × 3 (read "two by three"), because there are two rows and three columns: {\displaystyle {\begin{bmatrix}1&9&-13\\20&5&-6\end{bmatrix}}.} Provided that they have the same size (each matrix has the same number of rows and the same number of columns as the other), two matrices can be added or subtracted element by element (see Conformable matrix ). The rule for matrix multiplication , however, is that two matrices can be multiplied only when the number of columns in the first equals the number of rows in the second (i.e., the inner dimensions are the same, n for an ( m × n )-matrix times an ( n × p )-matrix, resulting in an ( m × p )-matrix...