isDependent(M, S)
This method checks if the given subset of the ground set is dependent, i.e. contains a circuit.
i1 : M = matroid({a,b,c,d},{{a,b},{a,c}}) o1 = a "matroid" of rank 2 on 4 elements o1 : Matroid
i2 : isDependent(M, {a,b}) o2 = false
i3 : isDependent(M, {d}) o3 = true
The object isDependent is a method function.