|
DiagonalMatrix
DiagonalMatrix[list] gives a matrix with the elements of list on the leading diagonal, and 0 elsewhere.
See Section 1.8.3 and Section 3.7.1.
See also: IdentityMatrix, Tr, KroneckerDelta.
Related package: LinearAlgebra`MatrixManipulation`.
New in Version 1.
Further Examples
|