Combinatorica`
Combinatorica`
GrayCode
In Version 6.0, GrayCode has been superseded by GrayCodeSubsets.
GrayCode[l]
constructs a binary reflected Gray code on set .
Details and Options
- To use GrayCode, you first need to load the Combinatorica Package using Needs["Combinatorica`"].