Permutation.IsEven Property

Gets whether the permutation is composed of an even number of elementary permutations.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public bool IsEven { get; }

Property Value

Boolean
true if the permutation is composed of an even numberof elementary permutations; otherwise false.

Remarks

An elementary permutation is an exchange of two elements of the set. Any permutation can be decomposed into a succession of elementary permutations. Although there are infinitely many such decompositions, the parity of the number of elementary permutations in each decomposition is a constant for each permutation.

See Also