deg |
Syntax |
deg(F: RINGELEM): INT deg(F: RINGELEM, X: RINGELEM): INT |
Description |
Example |
/**/ Use R ::= QQ[x,y,z]; /**/ deg(x*y^2+y); 3 /**/ deg(x*y^2+y, x); 1 /**/ Ws := RowMat([2,3,1]); /**/ P := NewPolyRing(QQ, "x,y,z", MakeTermOrd(Ws), 1); /**/ Use P; /**/ deg(x*y^2+y); 3 /**/ wdeg(x*y^2+y); [8] /**/ deg(x*y^2+y, x); 1 /**/ deg(x*y^2+y, x); 2 |
See Also |