Lazily computes all k-combinations of r. Imagine this as the cartesianPower filtered for only strictly ordered items.
While generating a new combination is in O(k), the number of combinations is binomial(n, k).
random access field. A field may not have iteration primitivies.
number of combinations
Forward range, which yields the k-combinations items
Combinations
See Implementation
Lazily computes all k-combinations of r. Imagine this as the cartesianPower filtered for only strictly ordered items.
While generating a new combination is in O(k), the number of combinations is binomial(n, k).