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

RotateLeft

RotateLeft
cycles the elements in expr n positions to the left.
RotateLeft[expr]
cycles one position to the left.
RotateLeft
cycles elements at successive levels positions to the left.
Rotate two positions to the left:
Rotate one position to the left:
Rotate two positions to the left:
In[1]:=
Click for copyable input
Out[1]=
 
Rotate one position to the left:
In[1]:=
Click for copyable input
Out[1]=
Rotate one position left at the first level, and right at the second level:
Rotate an expression with any head:
Successively rotate a list left:
Rotate successive rows of a matrix by their row number:
Rotate a 2D image:
Rotate operands:
New in 1 | Last modified in 5