Module itertools::combinations_with_replacement
source · Structs§
- An iterator to iterate through all the
n
-length combinations in an iterator, with replacement.
Functions§
- Create a new
CombinationsWithReplacement
from a clonable iterator. - For a given size
n
, return the count of remaining combinations with replacement or None if it would overflow.