|  |  D.15.23.21 Degrees Procedure from librarymodules.lib(see  modules_lib).
 
Example:Usage:
Degrees(M); M a Module
Return:
list, grading of the Module
 |  | 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
 | 
 
 |