Macaulay2 » Documentation
Packages » Normaliz :: createMonomialSubalgebra
next | previous | forward | backward | up | index | toc

# createMonomialSubalgebra -- creates a monomial subalgebra

- 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

## See also

- MonomialSubalgebra -- class of monomial subalgebras

## Ways to use createMonomialSubalgebra:

- `createMonomialSubalgebra(List)`

## For the programmer

The object createMonomialSubalgebra is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Normaliz.m2:854:0.