Combinatorica`
Combinatorica`
NextSubset
NextSubset[l,s]
constructs the subset of l following subset in canonical order.
Details and Options
- To use NextSubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
NextSubset[l,s]
constructs the subset of l following subset in canonical order.