combinatorics#
Functions
|
|
Return the depth of iterable object, e.g. iterable_depth([1, 2]) = 1 and iterable_depth([(1,2)]) = 2. |
|
Returns "parted" permutations of keys of d split by values (partition values, classes) of d. |
|
|
Returns a union of the sets in the arguments. |