Student[LinearAlgebra] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Linear Algebra : Computation : Constructors : Student/LinearAlgebra/IdentityMatrix

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}\left[\mathrm{LinearAlgebra}\right]\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)