Top
Back: modules_lib
Forward: zero
FastBack:
FastForward:
Up: modules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.17.1 id

Procedure from library modules.lib (see modules_lib).

Usage:
id(n); n integer

Return:
returns the n x n identity matrix, with nongraded free modules for source and target

Example:
 
LIB "modules.lib";
ring r;
int n=4;
id(n);
==>     {0} {0} {0} {0}
==> {0}   1   0   0   0
==> {0}   0   1   0   0
==> {0}   0   0   1   0
==> {0}   0   0   0   1
==> 


Top Back: modules_lib Forward: zero FastBack: FastForward: Up: modules_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.