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

ring(NCRingElement) -- Returns the NCRing of an NCRingElement

Description

Returns the ring of an NCRingElement

i1 : A = QQ{x,y,z,w}

o1 = A

o1 : NCPolynomialRing
i2 : f = x^2+y^2+z^3

      3  2  2
o2 = z +y +x

o2 : A
i3 : ring f

o3 = A

o3 : NCPolynomialRing

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/NCAlgebra/NCAlgebraDoc.m2:1159:0.