Signature
Usage
• Signature[list]给出用来以规范顺序放置list的元素所需要的置换数.
Notes
• 该置换数为  , 其中  是建立该置换所必须对元素进行移项的个数. • 如果 list 有两个元素相同, Signature[list] 返回 0.
Further Examples
The first list is in canonical order. The second needs three transpositions to put it in canonical order.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
|