Signature

Signature[list]

gives the signature of the permutation needed to place the elements of list in canonical order.

Details

  • The signature of the permutation is (-1)n, where n is the number of transpositions of pairs of elements that must be composed to build up the permutation.
  • If any two elements of list are the same, Signature[list] gives 0.
  • Signature can be used on expressions with any head, not only List.

Examples

open allclose all

Basic Examples  (1)

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Applications  (3)

Properties & Relations  (2)

Possible Issues  (2)

Neat Examples  (1)

See Also

Cross  Minors  Det  LeviCivitaTensor  KroneckerDelta  Order  OrderedQ  Permutations

Tutorials

Introduced in 1988
(1.0)