group(deprecated)/parity - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : group(deprecated)/parity

group(deprecated)

  

parity

  

find the parity of a permutation group or a permutation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

parity(pg)

parity(perm)

parity(part)

Parameters

pg

-

permutation group

perm

-

permutation in disjoint cycle notation

part

-

partition

Description

• 

Important: The group package has been deprecated. Use the superseding command GroupTheory[PermParity] instead.

• 

The function determines the parity of a permutation group, an individual permutation, or a permutation with a cycle type given by a partition.  The function returns 1 if the parity is even, and it returns −1 if the parity is odd. The parity of a permutation is also called the sign of a permutation.

• 

If pg is used, the function returns the parity of pg. The parity of a permutation group is even if all of its elements are even; otherwise, it is odd.

• 

If perm is used, the function returns the parity of perm. The permutation must be in disjoint cycle notation.

• 

If part is used, the function returns the parity of all permutations with the cycle type described by part.

• 

The command with(group,parity) allows the use of the abbreviated form of this command.

Examples

Important: The group package has been deprecated. Use the superseding command GroupTheory[PermParity] instead.

withgroup:

pg1permgroup6,1,2,3,2,3,4,3,4,5,4,5,6:

pg2permgroup6,1,6,2,6,3,6,4,6,5,6:

paritypg1

1

(1)

paritypg2

−1

(2)

parity1,2,3,4

1

(3)

parity2,2

1

(4)

parity1,2,3,4,5

−1

(5)

parity2,3

−1

(6)

See Also

combinat[partition]

group[permgroup]

GroupTheory

GroupTheory[PermParity]