Matroids
Circuits
return the circuits of a matroid
Calling Sequence
Parameters
Description
Examples
References
Circuits(M)
M
-
Matroid
The circuits of a matroid are its minimal dependent sets. Given a matroid, the Circuits command returns the circuits of that matroid as a list of sets.
If the circuits of this matroid haven't been computed before, they are computed by this command and stored for any future computations that use the circuits.
with⁡Matroids:
Find the sets of indices whose corresponding columns form a minimal dependent set for the column space of a matrix
A≔Matrix⁡1,1,1,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,2,0
A≔11100000001110100100001001000010020
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:11100000001110100100001001000010020
C≔Circuits⁡M
C≔7,1,2,4,5
Find the circuits of a matroid constructed from a graph
with⁡GraphTheory:
G≔Graph⁡a,x,a,y,b,x,b,y,c,x,c,y
G≔Graph 1: an undirected graph with 5 vertices and 6 edge(s)
M≔Matroid⁡G
M≔thⅇ graphⅈc matroⅈⅆ on thⅇ graph:PLOT⁡...
C≔a_x,a_y,b_x,b_y,a_x,a_y,c_x,c_y,b_x,b_y,c_x,c_y
James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.
See Also
Matroids[Matroid]
Matroids[DependentSets]
Download Help Document