Documentation
Mathematica
Built-in Functions
Lists and Matrices
List Operations
| RotateLeft RotateLeft[expr, n] cycles the elements in expr n positions to the left. RotateLeft[expr] cycles one position to the left. RotateLeft[expr,  , , ... ] cycles elements at successive levels positions to the left. Example: RotateLeft[ a, b, c , 1]  . RotateLeft[expr, -n] rotates n positions to the right. RotateLeft can be used on SparseArray objects. See Section 1.8.9 and Section 1.8.12. See also: RotateRight, Reverse, PadLeft. New in Version 1. Further Examples |