Dense Vector<T>.Swap Method
Swaps the elements of two vectors.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static void Swap(
DenseVector<T> left,
DenseVector<T> right
)
Parameters
- left DenseVector<T>
- The first DenseVector<T>.
- right DenseVector<T>
- The second DenseVector<T>.
Remarks
This method uses the level 1 BLAS routine DSWAP.
Exceptions
Argument | left is null -or- right is null |
Dimension | The length of left is not equal to the length of right. |