We build a polynomial ring with coefficients in a polynomial ring
i1 : R = QQ[x,y] o1 = R o1 : PolynomialRing |
i2 : Q = R[s,t] o2 = Q o2 : PolynomialRing |
i3 : degree s o3 = {1, 0} o3 : List |
i4 : degree t o4 = {1, 0} o4 : List |
Note that the generators of Q have two degrees: an "internal" degree coming from R and an "external" degree coming from Q proper.
i5 : external = externalDegreeIndices Q o5 = {0} o5 : List |
i6 : (degree s)_external o6 = {1} o6 : List |
The object externalDegreeIndices is a method function.