next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Matroids :: isDependent

isDependent -- whether a subset is dependent

Synopsis

Description

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

See also

Ways to use isDependent :

For the programmer

The object isDependent is a method function.