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

subposet -- computes the induced subposet of a poset given a list of elements

Synopsis

Description

The induced subposet $Q$ on ground set $L$ of a poset $P$ has a partial order induced by the partial order on $P$.

i1 : C = chain 7;
i2 : subposet(C, {2,3,5,6})

o2 = Relation Matrix: | 1 1 1 1 |
                      | 0 1 1 1 |
                      | 0 0 1 1 |
                      | 0 0 0 1 |

o2 : Poset

See also

Ways to use subposet :

For the programmer

The object subposet is a method function.