Function itertools::combinations_with_replacement::remaining_for
source ยท fn remaining_for(n: usize, first: bool, indices: &[usize]) -> Option<usize>
Expand description
For a given size n
, return the count of remaining combinations with replacement or None if it would overflow.