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

filter -- computes the elements above given elements in a poset

Synopsis

Description

The filter of a given set of elements of a poset is all the elements in the poset which are greater than or equal to at least one of the elements in the given set.

i1 : P = booleanLattice 3;
i2 : filter(P, {"001", "100"})

o2 = {001, 011, 101, 111, 100, 110}

o2 : List

See also

Ways to use filter :

For the programmer

The object filter is a method function.