SetIntersection¶
- class odl.set.sets.SetIntersection(*sets)[source]¶
Bases:
SetThe intersection of several subsets.
The elements of this set are elements of all the subsets.
This is a lazy intersection, i.e. there is no intelligence and the set is literally stored as the intersection of its subsets.
- Attributes:
Methods
contains_all(other)Test if all elements in
otherare contained in this set.contains_set(other)Test if
otheris a subset of this set.element([inp])Return an element from
inpor from scratch.