wdeg -- multi-degree of a polynomial |
Syntax |
wdeg(F: RINGELEM): LIST |
Description |
Example |
/**/ M := matrix([[2,3,4], [1,0,2], [1,0,0]]); /**/ P := NewPolyRing(QQ, "x,y,z", M, 1); -- GradingDim=1 /**/ use P; /**/ wdeg(x*y^2+y); [8] /**/ P := NewPolyRing(QQ, "x,y,z", M, 2); -- GradingDim=2 /**/ use P; /**/ wdeg(x*y^2+y); [8, 1] /**/ deg(x*y^2+y); 3 /**/ P4 := NewFreeModule(P,4); -- the default module ordering is TOPos /**/ wdeg(ModuleElem(P4, [0, x, y^2, x^2])); [6, 0] /**/ LT(ModuleElem(P4, [0, x, y^2, x^2])); [0, 0, y^2, 0] |
See Also |