Macaulay2 » Documentation
Packages » Posets :: union(Poset,Poset)
next | previous | forward | backward | up | index | toc

union(Poset,Poset) -- computes the union of two posets

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 this method:


The source of this document is in Posets.m2:3286:0.