Macaulay2 » Documentation
Packages » WittVectors :: ring(WittRingElement)
next | previous | forward | backward | up | index | toc

ring(WittRingElement) -- Returns the Witt ring that a WittRingElement belongs to

Description

Returns the WittPolynomialRing or WittQuotientRing that the input belongs to

i1 : R = (ZZ/5)[x,y]

o1 = R

o1 : PolynomialRing
i2 : w = witt{x, x+y}

o2 = {x, x + y}

o2 : WittRingElement
i3 : ring(w)

o3 = Witt (R)
         2

o3 : WittPolynomialRing
i4 : R = (ZZ/5)[x,y,z] / ideal(x^2 + y^2 + z^2)

o4 = R

o4 : QuotientRing
i5 : w = witt{x, y, z}

o5 = {x, y, z}

o5 : WittRingElement
i6 : ring(w)

o6 = Witt (R)
         3

o6 : WittQuotientRing

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/WittVectors/Documentation.m2:306:0.