|
D.15.11.18 SetDeg
Procedure from library modules.lib (see modules_lib).
- Usage:
- SetDeg(l), l list or intvec
- Return:
- nothing, saves own degrees for the different variables of the basering
- Note:
- should be used after decleration of the ring and shouldn't be changed afterwards
Example:
| LIB "modules.lib";
ring r;
Deg(x);
==> 1
list l=2,2,2;
SetDeg(l);
Deg(x);
==> 2
|
|