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

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