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

D.15.23.20 Degree

Procedure from library modules.lib (see modules_lib).

Usage:
Degree(M); M FreeModule

Return:
list, degrees of the generators from the module, if they are graded

Example:
 
LIB "modules.lib";
ring r;
matrix m[2][2]=x,y3,z,xz;
Matrix Ma=m;
FreeModule M=Source(Ma);
M;
==>  2
==> r
==> free Module
==> 
Degree(M);
==> The module isn't graded