next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
MonomialAlgebras :: adjoinPurePowers

adjoinPurePowers -- adjoin semigroup elements corresponding to pure powers of variables

Synopsis

Description

Used to simplify the input of complicated homogeneous monoids.

i1 : A = {{1,4}, {2,3}}

o1 = {{1, 4}, {2, 3}}

o1 : List
i2 : adjoinPurePowers A

o2 = {{5, 0}, {0, 5}, {1, 4}, {2, 3}}

o2 : List

Ways to use adjoinPurePowers :