Combinatorica`
Combinatorica`
GrayCodeKSubsets
GrayCodeKSubsets[l,k]
generates -subsets of in Gray code order.
更多信息和选项
- To use GrayCodeKSubsets, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
GrayCodeKSubsets[l,k]
generates -subsets of in Gray code order.