muEC::SG::Perm2Sign – returns the signature of a permutation

The muEC::SG::Perm2Sign function calculates the signature of a permutation. This value is equal to math.

→ Examples

Call:

muEC::SG::Perm2Sign(perm)

Parameters:

perm

any list denoting a permutation

Related Functions:

muEC::SG::Perm2Length, muEC::SG::SgTranspo

Example 1:

muEC::SG::Perm2Sign( [1,4,2,3] );

math