Diagonal matrix

is a data structure that stores the diagonal elements of a square matrix whose other values are all zero. Diagonal matrices can be declared using the DIAGONALMATRIX directive.