Combinatorica`
Combinatorica`
UnrankGrayCodeSubset
UnrankGrayCodeSubset[n,l]
gives the subset of list , listed in Gray code order.
更多信息和选项
- To use UnrankGrayCodeSubset, you first need to load the Combinatorica Package using Needs["Combinatorica`"].