Vector<T>.Swap Elements Method
Exchanges two elements of the vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |