Use S ::= QQ[a,b,c], Weights(1,2,3);
Deg(b);
2

L := [1,2,3];
Use S ::= QQ[a,b,c], Weights(L);
Deg(b);
2

W := Mat([[1,2,3],[4,5,6]]);
Use S ::= QQ[a,b,c], Weights(W);
Deg(b);
2

MDeg(b);  the multidegree of b
[2, 5]

Deg(b^3+a^2c);
6

MDeg(b^3+a^2c);
[6, 15]

WeightsMatrix();
Mat([
[1, 2, 3],
[4, 5, 6]
])

WeightsList();  returns the first row of the Weights Matrix
[1, 2, 3]

