set_theory, a Python code which demonstrates how set theory operations including union, intersection, complement, and symmetric difference.
We assume that a set is represented by a strictly ascending sequence of positive integers. We might think of a universal set U = 1 : N in cases where all our subsets will have elements between 1 and N.
The computer code and data files described and made available on this web page are distributed under the MIT license
set_theory is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
combo, a Python code which handles combinatorial problems, by Kreher and Stinson;
subset, a Python code which ranks, unranks, and generates random subsets, combinations, permutations, and so on;