This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


RotateRight[expr, n]
cycles the elements in expr n positions to the right.
cycles one position to the right.
RotateRight[expr, {n1, n2, ...}]
cycles elements at successive levels n_(i) positions to the right.
  • RotateRight[expr, -n] rotates n positions to the left.
New in 1