CartesianProduct¶
-
class
odl.set.sets.
CartesianProduct
(*sets)[source]¶ Bases:
odl.set.sets.Set
Cartesian product of a finite number of sets.
The elements of this set are tuples where the i-th entry is an element of the i-th set.
- Attributes
Methods
contains_all
(self, other)Test if all elements in
other
are contained in this set.contains_set
(self, other)Test if
other
is a subset of this set.element
(self[, inp])Create a
CartesianProduct
element.