Description Usage Arguments Value Examples
Encode a base-b
array of integers into a single integer. This function
uses a big-endian encoding scheme. That is, the most significant bits of the
encoded integer are determined by the left-most end of the unencoded state.
1 |
state |
Vector of the state to encode. |
b |
Numeric giving the base in which to encode. |
Numeric giving the encoded state.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.