Macaulay2 » Documentation
Packages » Posets :: union
next | previous | forward | backward | up | index | toc

union -- computes the union of two posets

Synopsis

Description

The union of two posets is the poset induced by the union of the ground sets and the covering relations.

i1 : union(chain 3, poset {{1,4},{4,5},{5,3}})

o1 = Relation Matrix: | 1 1 1 1 1 |
                      | 0 1 1 0 0 |
                      | 0 0 1 0 0 |
                      | 0 0 1 1 1 |
                      | 0 0 1 0 1 |

o1 : Poset

See also

Ways to use union :

For the programmer

The object union is a method function.