Macaulay2 » Documentation
Packages » Macaulay2Doc » combinatorics » Set » intersect(Set,Set)
next | previous | forward | backward | up | index | toc

intersect(Set,Set) -- set intersection

Description

i1 : set {1,2,3} * set {2,3,4}

o1 = set {2, 3}

o1 : Set
i2 : intersect(set{1,2,3}, set{2,3,4}, set{2,4,6})

o2 = set {2}

o2 : Set

See also

Ways to use this method:


The source of this document is in Macaulay2Doc/functions/set-doc.m2:173:0.