orbit | R Documentation |
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()
. Vectorization is inherited from
cbind()
.
Robin K. S. Hankin
fixed
orbit(as.cycle("(123)"),1:5) orbit(as.cycle(c("(12)","(123)(45)","(2345)")),1) orbit(as.cycle(c("(12)","(123)(45)","(2345)")),1:3) data(megaminx) orbit(megaminx,13)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.