Matroids
Flats
return the flats of a matroid
Calling Sequence
Parameters
Description
Examples
References
Flats(M)
M
-
Matroid
The flats of a matroid are those subsets which are maximal with respect to their rank. Given a matroid, the Flats command returns the flats of that matroid as a list of sets.
If the flats of this matroid haven't been computed before, they are computed by this command and stored for any future computations that use the flats.
with⁡Matroids:
Find the sets of indices whose corresponding columns form a flat in the column space of a matrix.
A≔Matrix⁡1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,2
A≔111000000111100100010010001002
M≔Matroid⁡A
M≔thⅇ lⅈnⅇar matroⅈⅆ whosⅇ grounⅆ sⅇt ⅈs thⅇ sⅇt of column vⅇctors of thⅇ matrⅈx:111000000111100100010010001002
Flats⁡M
∅,1,2,3,4,5,6,1,2,1,3,2,3,1,4,2,4,3,4,1,5,2,5,3,5,4,5,1,6,2,6,3,6,4,6,5,6,1,2,3,1,3,4,2,3,4,1,3,5,2,3,5,3,4,5,1,2,6,1,3,6,2,3,6,1,4,6,2,4,6,3,4,6,1,5,6,2,5,6,3,5,6,4,5,6,1,2,4,5,1,2,3,6,1,3,4,6,2,3,4,6,1,3,5,6,2,3,5,6,3,4,5,6,1,2,3,4,5,1,2,4,5,6,1,2,3,4,5,6
James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.
See Also
Matroids[Matroid]
Matroids[Rank]
Download Help Document