next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Posets :: subposet

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 = Poset{cache => CacheTable{}                                        }
           GroundSet => {2, 3, 5, 6}
           RelationMatrix => | 1 1 1 1 |
                             | 0 1 1 1 |
                             | 0 0 1 1 |
                             | 0 0 0 1 |
           Relations => {{2, 3}, {2, 5}, {2, 6}, {3, 5}, {3, 6}, {5, 6}}

o2 : Poset

See also

Ways to use subposet :