Matroids
IndependentSets
return the independent sets of a matroid
Calling Sequence
Parameters
Description
Examples
References
IndependentSets(M)
M
-
Matroid
Given a matroid, the IndependentSets command returns the independent sets of that matroid.
If the independent sets of this matroid haven't been computed before, they are computed by this command and stored for any future computations that use the independent sets.
with⁡Matroids:
Find the sets of indices whose corresponding columns in a matrix are linearly independent
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
IndependentSets⁡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,2,4,1,3,4,2,3,4,1,2,5,1,3,5,2,3,5,1,4,5,2,4,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,3,4,1,2,3,5,1,3,4,5,2,3,4,5,1,2,3,6,1,2,4,6,1,3,4,6,2,3,4,6,1,2,5,6,1,3,5,6,2,3,5,6,1,4,5,6,2,4,5,6,3,4,5,6,1,2,3,4,6,1,2,3,5,6,1,3,4,5,6,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]
Download Help Document