IndependentSets - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Matroids

  

IndependentSets

  

return the independent sets of a matroid

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

IndependentSets(M)

Parameters

M

-

Matroid

Description

• 

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.

Examples

withMatroids:

Find the sets of indices whose corresponding columns in a matrix are linearly independent

AMatrix1,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

A111000000111100100010010001002

(1)

MMatroidA

Mthⅇ lⅈnⅇar matroⅈⅆ whosⅇ grounⅆ sⅇt ⅈs thⅇ sⅇt of column vⅇctors of thⅇ matrⅈx:111000000111100100010010001002

(2)

IndependentSetsM

,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

(3)

References

  

James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.

See Also

Matroids[Matroid]