calebsmith/Sator — Issue #3: Pitch sets should be able to behave like sets
Author: calebsmith
Created: 2012-02-19 22:12:29+00:00
State: open

Pitch sets in post tonal theory are often used with operators such as union, intersection, issubset, etc... PCSets in sator should have methods for these as well, especially:

intersection
union
difference
symmetric_difference
issubset
issuperset

For simplicity, each method will return the result, but not make any in place changes. Luckily, these methods are available to python sets, so should be fairly straightforward to implement.