|
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.
|