Vector<T>.Swap Elements Method
Exchanges two elements of the vector.
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 SwapElements(
int index1,
int index2
)
Parameters
Exceptions
Argument | index1 is less than zero or greater than or equal to the length of the vector. -or- index2 is less than zero or greater than or equal to the length of the vector. |