symmdiff - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Operations : Sets and lists : symmdiff

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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam