(n)scalar matrixa diagonal matrix in which all of the diagonal elements are equal