Mathematica 9 is now available

RotateRight

Usage

RotateRight[expr, n] cycles the elements in expr n positions to the right.
RotateRight[expr] cycles one position to the right.
RotateRight[expr, { ,  , ... }] cycles elements at successive levels  positions to the right.


Notes

• Example: RotateRight[ a, b, c , 1]LongRightArrow .
RotateRight[expr, -n] rotates n positions to the left.
RotateRight can be used on SparseArray objects.
• See also: RotateLeft, Reverse, PadRight.
• New in Version 1.


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.