NextKSubset[l,s]
gives the
-subset of list l, following the
-subset s in lexicographic order.
Details and Options
See Also
Tech Notes
Related Guides
Combinatorica`
Combinatorica`
NextKSubset
NextKSubset[l,s]
gives the
-subset of list l, following the
-subset s in lexicographic order.
Details and Options
- To use NextKSubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].