-- -*- M2-comint -*- hash: 7533302534003144893

i1 : QQ[x,y,z, Degrees => {2:1, 2}]

o1 = QQ[x..z]

o1 : PolynomialRing

i2 : degrees oo

o2 = {{1}, {1}, {2}}

o2 : List

i3 : QQ[x,y, Degrees => {{1,0}, {0,1}}]

o3 = QQ[x..y]

o3 : PolynomialRing

i4 : degrees oo

o4 = {{1, 0}, {0, 1}}

o4 : List

i5 : QQ[a..f, DegreeRank => 3]

o5 = QQ[a..f]

o5 : PolynomialRing

i6 : transpose matrix degrees oo

o6 = | 1 0 0 0 0 0 |
     | 0 1 0 0 0 0 |
     | 0 0 1 1 1 1 |

              3       6
o6 : Matrix ZZ  <-- ZZ

i7 : QQ[a..f, DegreeGroup => ZZ^2 ++ coker matrix 3]
 -- Warning: computations over rings with torsion grading groups are experimental

o7 = QQ[a..f]

o7 : PolynomialRing

i8 : degreeGroup oo

o8 = cokernel | 0 |
              | 0 |
              | 3 |

                              3
o8 : ZZ-module, quotient of ZZ

i9 : 
