 linalg(deprecated)/JordanBlock - Maple Help

linalg(deprecated)

 JordanBlock
 return a Jordan block matrix Calling Sequence JordanBlock(t, n) Parameters

 t - any constant, algebraic number, or rational number n - integer: the size of the Jordan block matrix Description

 • Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[JordanBlockMatrix], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The function JordanBlock returns a matrix J of a special form: the Jordan block.  The matrix J will be such that ${J}_{i,i}=t$, ${J}_{i,i+1}=1$ for $i=1..n-1$ and ${J}_{i,j}=0$ otherwise.
 • The command with(linalg,JordanBlock) allows the use of the abbreviated form of this command. Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[JordanBlockMatrix], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $\mathrm{linalg}\left[\mathrm{JordanBlock}\right]\left(3,5\right)$
 $\left[\begin{array}{ccccc}{3}& {1}& {0}& {0}& {0}\\ {0}& {3}& {1}& {0}& {0}\\ {0}& {0}& {3}& {1}& {0}\\ {0}& {0}& {0}& {3}& {1}\\ {0}& {0}& {0}& {0}& {3}\end{array}\right]$ (1)
 > $\mathrm{linalg}\left[\mathrm{JordanBlock}\right]\left(x,7\right)$
 $\left[\begin{array}{ccccccc}{x}& {1}& {0}& {0}& {0}& {0}& {0}\\ {0}& {x}& {1}& {0}& {0}& {0}& {0}\\ {0}& {0}& {x}& {1}& {0}& {0}& {0}\\ {0}& {0}& {0}& {x}& {1}& {0}& {0}\\ {0}& {0}& {0}& {0}& {x}& {1}& {0}\\ {0}& {0}& {0}& {0}& {0}& {x}& {1}\\ {0}& {0}& {0}& {0}& {0}& {0}& {x}\end{array}\right]$ (2)