next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MonomialAlgebras :: homogenizeSemigroup

homogenizeSemigroup -- Homogenize generators of a semigroup.

Synopsis

Description

Homogenize the generators of a semigroup adding an additional coordinate.

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

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

o1 : List
i2 : homogenizeSemigroup A

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

o2 : List

Ways to use homogenizeSemigroup :

For the programmer

The object homogenizeSemigroup is a method function.