Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Rearranging & Restructuring Lists >

RotateLeft

RotateLeft[expr, n]
cycles the elements in expr n positions to the left.
RotateLeft[expr]
cycles one position to the left.
RotateLeft[expr, {n1, n2, ...}]
cycles elements at successive levels ni positions to the left.
  • RotateLeft[expr, -n] rotates n positions to the right.
New in 1
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team