[back] [prev] [next] [index] [root]

 


MatId

Returns the identity matrix of given dimension.

Syntax:

I := MatId(S, n);

matrix
  I  
ring
  S  
small integer
  n  

Description:

Returns the identity matrix I|n of dimension n over the (unitary) ring S.


Example:

Create I|3 over {\Bbb Z}[\sqrt[4]{-1}].

kash> O := Order(Z,4,-1);
Generating polynomial: x^4 + 1

kash> MatId(O,3);
> [1 0 0]
[0 1 0]
[0 0 1]


<- back[back] [prev] [next] [index] [root]