Home Online Manual
Top
Back: Degree
Forward: subquotient
FastBack:
FastForward:
Up: modules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.23.21 Degrees

Procedure from library modules.lib (see modules_lib).

Usage:
Degrees(M); M a Module

Return:
list, grading of the Module

Example:
 
LIB "modules.lib";
ring r;
matrix ma[2][2]=x,y,x,y;
Matrix m=ma;
Module M=image(m);
M;
==> image | x y |
==>       | x y |
==> 
==> 
Degrees(M);
==> [1]:
==>    1
==> [2]:
==>    1