symmdiff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


symmdiff

set symmetric difference

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

symmdiff(s1, s2, s3,...)

Parameters

s1, s2, s3, ...

-

sets or expressions

Description

• 

The procedure symmdiff is used for the set symmetric difference operator, which is defined by symmdiff(a,b)=(a union b) minus (a intersect b), for two arguments and associates to the left for more arguments.

Examples

symmdiffa,b

a,b

(1)

symmdiffa,b,b,c

a,c

(2)

symmdiffa,b,a,b

(3)

symmdiff1,2,3,4,2,4,5,6,3,4,5,7

1,4,6,7

(4)

symmdiff1,2,3,4,2,4,5,6

1,3,5,6

(5)

symmdiff1,3,5,6,3,4,5,7

1,4,6,7

(6)

symmdiff1,3,4,5,3,5,2,4,5,3,4,5,2,4,5

1,3,5

(7)

See Also

intersect

minus

union