-- -*- M2-comint -*- hash: 5553377248490493910

i1 : R = QQ[x,y]

o1 = R

o1 : PolynomialRing

i2 : leadTerm matrix {{x+y, x^2+y}}

o2 = | x x2 |

             1      2
o2 : Matrix R  <-- R

i3 : R = QQ[x,y, Weights => {1,2}]

o3 = R

o3 : PolynomialRing

i4 : leadTerm matrix {{x+y, x^2+y}}

o4 = | y x2 |

             1      2
o4 : Matrix R  <-- R

i5 : R = QQ[x,y, Weights => {1,3}]

o5 = R

o5 : PolynomialRing

i6 : leadTerm matrix {{x+y, x^2+y}}

o6 = | y y |

             1      2
o6 : Matrix R  <-- R

i7 : 
