Description Usage Arguments Value Author(s) References Examples
A function to generate gray code
1 | grays(n)
|
n |
an integer to specify the number of bits. |
a vector of the decimal gray code.
Liye He liye.he@helsinki.fi
Dah jyh Guan. (Scientific Note) Generalized Gray Codes with Applications. 1998
1 | code<-grays(3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.