Given two sets A and B, the
DIFFERENCE function returns a new "A minus B" set, that is what is left of A after removing the domains that A and B have in common.
For example, given these two sets:
setOne: 1 1.01 1.15 1.17 setTwo: 1.01 1.15 1.18
var diff = DIFFERENCE(setOne, setTwo);
defines and populates the
diff set this way:
The members of
setTwo are subtracted from
1.18 does not belong to
setOne, so it cannot be subtracted.
The syntax is:
set2 are set variables.