|
D.4.17.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
|
|