Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > コアとなる言語 > リスト操作 > リストの並べ替えと再構築 >
Mathematica > データの操作 > データの配列の操作 > リストの並べ替えと再構築 >

RotateLeft

RotateLeft[expr, n]
expr の要素を n だけ左の位置にずらす.
RotateLeft[expr]
1つだけ左の位置にずらす.
RotateLeft[expr, {n1, n2, ...}]
継続したレベルの要素を ni ずつ左の位置にずらす.
  • RotateLeft[expr, -n]は,n だけ右の位置にずらす.
バージョン 1 の新機能 | バージョン 5 での修正機能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team