Macaulay2 » Documentation
Packages » SubalgebraBases :: ambient(Subring)
next | previous | forward | backward | up | index | toc

ambient(Subring) -- The ambient ring of a subring

Synopsis

Description

Returns the ambient ring of the generating set of the Subring. This may be a PolynomialRing or QuotientRing.

i1 : R = QQ[x,y,z];
i2 : S = subring({x^2, y^2, z^2});
i3 : ambient S

o3 = R

o3 : PolynomialRing
i4 : Q = R / ideal(x^3 - y);
i5 : S' = subring({x^3, y^2});
i6 : ambient S'

o6 = Q

o6 : QuotientRing

See also

Ways to use this method: