Mathematica 9 is now available

RotateRight

Usage

RotateRight[expr, n]exprn位置的元素循环移到右边.
RotateRight[expr] 把一个位置循环移到右边.
RotateRight[expr,   ,  , ...  ] 把依次相连续层  位置的元素循环移到右边.


Notes

• 例如: RotateRight[ a, b, c , 1]LongRightArrow .
RotateRight[expr, -n]n位置旋转到左边.
• 参见 Mathematica 全书: 1.8.9节 和 1.8.13节.
• 同时参见: RotateLeft, Reverse, PadRight.
Further Examples

This rotates each element one place to the right.

In[1]:=  

Out[1]=

This rotates each element two places to the right.

In[2]:=  

Out[2]=

This rotates each element one place to the left.

In[3]:=  

Out[3]=



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.