Description Usage Arguments Value Examples
The odometer in a given integer base
1 2 3 4 5 6 7 | odometer(x, base = 2L)
odometer_iterated(x, n, base = 2L)
odometerBW(x, base = 2L)
odometerBW_iterated(x, n, base = 2L)
|
x |
a sequence of digits in the given base |
base |
integer, the base of the expansion |
n |
integer, power of the iteration |
odometer
returns the transformation of x
by the odometer; odometer_iterated
returns the n
-th iterate of the odometer; odometerBW
returns the transformation of x
by the backward odometer; odometerBW_iterated
returns the n
-th iterate of the backward odometer.
1 2 3 4 5 6 | odometer(c(0,1))
odometer(c(1,1))
odometerBW(odometer(c(0,1))) == c(0,1)
odometer_iterated(c(0,1), n=2)
odometer_iterated(0, n=13) == intAtBase(13)
odometerBW_iterated(intAtBase(13), n=13) == 0
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.