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

maximalElements -- determines the maximal elements of a poset

Synopsis

Description

An element of $P$ is a maximal element if it no other element of $P$ is greater than it.

i1 : P = poset {{a,b}, {a,c}, {c,d}};
i2 : maximalElements P

o2 = {b, d}

o2 : List

See also

Ways to use maximalElements :

For the programmer

The object maximalElements is a method function.