Tuples
Usage
Notes
Further Examples
Here are all -tuples of elements taken from .
In[1]:=
|
Out[1]=
|
Changing the order of the elements in the input list changes the order of the -tuples.
In[2]:=
|
Out[2]=
|
Tuples treats the elements from the input list as distinct.
In[3]:=
|
Out[3]=
|
This gives all arrays made from the elements of .
In[4]:=
|
Out[4]=
|
The one argument version of Tuples combines the sublists in all possible ways.
In[5]:=
|
Out[5]=
|
|