gives the elements in eall that are not in any of the ei.
Details and Options
- The list returned by Complement is sorted into standard order.
- Complement[eall,e1,…,SameTest->test] applies test to each pair of elements in eall and the ei to determine whether they should be considered the same.
Examplesopen allclose all
Basic Examples (1)
Find which elements in the first list are not in any of the subsequent lists:
Generalizations & Extensions (1)
Use equivalence classes based on absolute value:
Use equivalence classes based on Floor:
Use Total of list elements:
Find divisors of 20 that are not also divisors of 12:
Find which triples of digits do not occur in the binary decomposition of 12345:
Find which options to Plot are not also options to Graphics:
Find which length-5 sequences never occur after 2 steps in any elementary cellular automaton:
Introduced in 1988
Updated in 1996