WeightsMatrix():MAT
Use R ::= Q[x,y], Weights(Mat([[1,2],[3,4],[5,6]])); WeightsMatrix(); Mat[ [1, 2], [3, 4], [5, 6] ] ------------------------------- MDeg(y); [2, 4, 6] ------------------------------- WeightsList(); -- the first row of the weights matrix [1, 2] -------------------------------