powered by
Performs a cyclic right shift on the state vector, moving the last element to the front. Tracks celestial coordinates (LRX momentum).
List with components:
Integer vector with elements shifted right by one position
List of updated celestial coordinates (nL, nR, nX, theta, phi, omega_conformal)
Integer vector representing the current permutation state
Optional list of current celestial coordinates. If NULL, starts from zero coordinates.
result <- shift_right(1:5) result$state
Run the code above in your browser using DataLab