up previous next
MDeg

multi-degree of an polynomial
Syntax

MDeg(F:POLY):LIST


Description
This function returns the multi-degree of F, as determined by the weights of the polynomial ring of F. The function Deg returns the weight given by only the first row of the weights matrix.

NB: In CoCoA-5 will me managed differently to allow more flexibility.

Example
  Use R ::= QQ[x,y], Weights(Mat([[1,2],[3,4],[5,6]]));
  MDeg(x);
[1, 3, 5]
-------------------------------
  MDeg(y);
[2, 4, 6]
-------------------------------
  Deg(y);
2
-------------------------------
  MDeg(x^2+y);
[2, 6, 10]
-------------------------------


See Also