Permutation.Is Even 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#
true if the permutation is composed of an even numberof elementary permutations; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public bool IsEven { get; }
Property Value
Booleantrue 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.