Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Operations /

Further Examples: RotateLeft

This rotates each element one place to the left.

In[1]:=

Out[1]=

This rotates each element two places to the left.

In[2]:=

Out[2]=

This rotates each element one place to the right.

In[3]:=

Out[3]=

This defines the function UnsortedUnion that drops duplicates from a list but, unlike Union, does not sort the remaining elements. (See also the Further Examples for Union.)

In[4]:=

In[5]:=

Out[5]=

In[6]:=

Out[6]=

See also the Further Examples for RotateRight.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: