IdentityMatrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Student[LinearAlgebra]

 IdentityMatrix
 construct an Identity Matrix
 Id
 construct an Identity Matrix

 Calling Sequence IdentityMatrix(d, options) Id(d, options)

Parameters

 d - (optional) non-negative integer; dimension of the resulting Matrix options - (optional) parameters; for a complete list, see LinearAlgebra[IdentityMatrix]

Description

 • The IdentityMatrix(d) command returns a $dxd$ Identity Matrix. This command can be abbreviated as Id(d).

Examples

 > $\mathrm{with}\left({\mathrm{Student}}_{\mathrm{LinearAlgebra}}\right):$
 > $\mathrm{IdentityMatrix}\left(4\right)$
 $\left[\begin{array}{cccc}{1}& {0}& {0}& {0}\\ {0}& {1}& {0}& {0}\\ {0}& {0}& {1}& {0}\\ {0}& {0}& {0}& {1}\end{array}\right]$ (1)
 > $⟨⟨1,2⟩|⟨3,4⟩⟩-t\mathrm{Id}\left(2\right)$
 $\left[\begin{array}{cc}{1}{-}{t}& {3}\\ {2}& {4}{-}{t}\end{array}\right]$ (2)

 See Also