createMonomialSubalgebra -- creates a monomial subalgebra
Synopsis
Usage:
createMonomialSubalgebra L
Inputs:
a list, list of monomials that are the generators of the subalgebra
Outputs:
a monomial subalgebra, the subalgebra of the polynomial ring of the monomials that has the given monomials as generators
Description
i1 : R=ZZ/37[x,y,z];
i2 : S=createMonomialSubalgebra {x^2*y, x*z, z^3}
o2 = MonomialSubalgebra{cache => CacheTable{} }
2 3
generators => {x y, x*z, z }
ring => R
o2 : MonomialSubalgebra of R