CoCoA:MDeg

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>