symmetricDifference
Syntax
symmetricDifference(X, Y)
or X^Y
Arguments
X and Y are sets.
Details
Return the union of two sets minus the intersection of the two sets.
Examples
x=set([5,3,4])
y=set(8 9 4 6);
y^x;
// output
set(5,8,3,9,6)
x^y;
// output
set(8,5,3,6,9)