Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Operations /

RotateRight

FilledSmallSquare RotateRight[expr, n] cycles the elements in expr n positions to the right.

FilledSmallSquare RotateRight[expr] cycles one position to the right.

FilledSmallSquare RotateRight[expr, , , ... ] cycles elements at successive levels positions to the right.

FilledSmallSquare Example: RotateRight[a, b, c, 1] LongRightArrow.

FilledSmallSquare RotateRight[expr, -n] rotates n positions to the left.

FilledSmallSquare RotateRight can be used on SparseArray objects.

FilledSmallSquare See Section 1.8.9 and Section 1.8.12.

FilledSmallSquare See also: RotateLeft, Reverse, PadRight.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.