[top][index]
search for:

degrees Ring -- degrees of generators

Synopsis:

  • Usage: s = degrees R
  • Function: degrees -- degrees of generators
  • Input:
  • R, an instance of class Ring.
  • Output:
  • s, an instance of class Thing: the list of multi-degrees for the generators (variables) of the ring R.
  • i1 : R = ZZ/101[x,y,z]

    o1 = R

    o1 : PolynomialRing
    i2 : degrees R

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

    o2 : List
    i3 : S = ZZ/101[x,y,z,Degrees => {{2,3},{1,2},{2,0}}]

    o3 = S

    o3 : PolynomialRing
    i4 : degrees S

    o4 = {{2, 3}, {1, 2}, {2, 0}}

    o4 : List

    Code:

         -- ../../../Macaulay2/m2/matrix.m2:666
         degrees Ring := R -> degree \ gens R

    [top][index]
    search for: