complement!
.. complement!(s)
Mutates :obj:`IntSet` ``s`` into its set-complement.
Examples
julia> foo = IntSet([5:100]);
julia> m = maximum(foo); # = 100
julia> complement!(foo);
julia> for i in foo
if(i <= m)
println(i);
else
break;
end
end
0
1
2
3
4
See Also
complement, complement!, intersect, intersect!, issubset, selectperm, selectperm!, Set, setdiff, setdiff!, symdiff, union, union!,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.