CoCoA:MDeg

From ApCoCoAWiki

MDeg

multi-degree of an polynomial

Description

This function returns the multi-degree of F, as determined by the

weights of the polynomial ring of F. The function <ttref>Deg</ttref> 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 ::= Q[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]
-------------------------------

Syntax

MDeg(F:POLY):LIST

Deg

Weights Modifier

PositiveGrading4

   <type>polynomial</type>
   <type>ring</type>