This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Signature

Signature[list]
gives the signature of the permutation needed to place the elements of list in canonical order.
  • The signature of the permutation is , 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 .
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Find even permutations:
Rank-3 totally antisymmetric (Levi-Civita) tensor:
Contractions of Levi-Civita tensors:
Find components of a 3D cross product:
Compute a determinant:
Compare with built-in Det:
The precision of a number influences its ordering:
Signature evaluates even for symbolic arguments:
Use Unevaluated to insert an unevaluated Signature:
Use Signature directly inside Table:
New in 1