NIST

difference

(definition)

Definition: The difference of set A minus set B is a set having all the members which are in A, but not in B.

See also complement, union, intersection, symmetric set difference.

Note: For example, {2, 3, 5} - {7, 5} = {2, 3}.

Author: PEB


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 17 December 2004.
HTML page formatted Fri Mar 25 16:20:34 2011.

Cite this as:
Paul E. Black, "difference", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 17 December 2004. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/difference.html

to NIST home page