previous  next
MDeg
Syntax
MDeg(F:POLY):LIST
Summary
multi-degree of an polynomial
Description
This function returns the multi-degree of F, as determined by the
weights of the current ring.  The function 'Deg' returns the weight
given by the first row of the weights matrix.

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]
-------------------------------
See also: