This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

IdentityMatrixPart

DiagonalMatrix

FilledSmallSquareDiagonalMatrix[list] gives a matrix with the elements of list on the leading diagonal, and 0 elsewhere.

FilledSmallSquare See The Mathematica Book: Section 1.8.3 and Section 3.7.1.

FilledSmallSquare See also: IdentityMatrix, Tr, KroneckerDelta.

FilledSmallSquare Related package: LinearAlgebra`MatrixManipulation`.

Further Examples

IdentityMatrixPart