next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Posets :: maximalElements

maximalElements -- determines the maximal elements of a poset



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.