Expand description
Combinatorial tools, functions, and generators.
Structs§
- Combinations
- An iterator which generates combinations over a set of elements.
- Combinations
With Replacement - An iterator which generates combinations over a set of elements, with replacement.
Functions§
- factorial
- Returns
n
factorial. - powerset
- Returns the powerset of the elements in the given iterable.
- triangle_
number - Returns the
n
th triangle number.