Macaulay2 » Documentation
Packages » Macaulay2Doc :: Set - Set
next | previous | forward | backward | up | index | toc

Set - Set -- set difference

Synopsis

Description

At least one of x, y must be a set, and the other may be a list. If x is a list, then so is the result.
i1 : set{a,b,c} - set{a}

o1 = set {b, c}

o1 : Set
i2 : set{a,b,c} - {a}

o2 = set {b, c}

o2 : Set
i3 : {a,b,c} - set{a}

o3 = {b, c}

o3 : List

See also

Ways to use this method: