GradingMat -- matrix of generalized weights for indeterminates |
Syntax |
GradingMat(R: RING): MAT |
Description |
Example |
/**/ OrdM := MakeTermOrdMat(RowMat([2,3])); OrdM; matrix(ZZ, [[2, 3], [0, -1]]) /**/ P := NewPolyRing(QQ, "x,y", OrdM, 1); -- GradingDim = 1 /**/ GradingMat(P); matrix(ZZ, [[2, 3]]) /**/ use P; /**/ deg(x*y); 2 /**/ wdeg(x*y); [5] |
See Also |