Jump to content

Symmetric difference: Difference between revisions

m
Line 1,317:
Maple has built-in support for set operations. Assign the sets A and B:
<lang Maple>A := {John, Bob, Mary, Serena};
B := {Jim, Mary, John, Bob};</lang>
</lang>
Now compute the symmetric difference with the '''symmdiff''' command:
<lang Maple>symmdiff(A, B);</lang>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.