Diagonal Matrix (linear algebra) A matrix in which the entries outside the main diagonal are all zero.