Linear Algebra/Diagonal Matrix
A diagonal matrix, , is a square matrix in which the entries outside of the main diagonal are zero. The main diagonal of a square matrix consists of the entries which run from the top left corner to the bottom right corner.
In the example below the main diagonal are