Permutation.Swap Method
Applies an elementary permutation.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public void Swap(
int index1,
int index2
)
Parameters
Remarks
Use this method extends the existing permutation by swapping the elements with index index1 and index2.