5.2. PermToInv
This function uses the stored tables of results to identify the index corresponding to a given canonical permutation.
Example:
In[97]:=
Out[97]=
This function only works with canonical permutations:
In[98]:=
Out[98]=
In[99]:=
Out[99]=
We rewrite the cycles in a different form
In[100]:=
Out[100]=
but now PermToInv does not work, because the new permutation is not canonical
In[101]:=
Out[101]=
Created by Mathematica (May 16, 2008) |