Orbits of integers
Finds the orbit of a given integer
orbit_single(c1,n1) orbit(cyc,n)
c1,n1 |
In (low-level) function |
cyc,n |
In (vectorized) function |
Given a cyclist c1
and integer n1
, function
orbit_single()
returns the single cycle containing integer
n1
. This is a low-level function, not intended for the
end-user.
Function orbit()
is the vectorized equivalent of
orbit_single()
.
Robin K. S. Hankin
data(megaminx) orbit(megaminx,13) # orbit() is vectorized: x <- cycle(list(list(a=1:2,4:6,8:10))) orbit(x,1:10)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.