Combinatorica`
Combinatorica`
LexicographicSubsets
gives all subsets of set l in lexicographic order.
returns all subsets of {1,2,…,n} in lexicographic order.
更多信息和选项
- To use LexicographicSubsets, you first need to load the Combinatorica Package using Needs["Combinatorica`"].