Macaulay2 » Documentation
Packages » Matroids :: isNonCrossing
next | previous | forward | backward | up | index | toc

isNonCrossing -- whether 2 subsets are non-crossing

Synopsis

Description

This function determines whether two disjoint subsets of [n] are non-crossing.

i1 : isNonCrossing({0,1,7},{2,4,5})

o1 = true
i2 : isNonCrossing({2,3,6},{1,4})

o2 = false

See also

Ways to use isNonCrossing :

For the programmer

The object isNonCrossing is a method function.