ILinearAlgebraOperations<T, TVector, TMatrix>.Swap Method

Exchanges the elements of two vectors.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
void Swap(
	int n,
	TVector x,
	TVector y
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
y  TVector
A reference to a one-dimensional array containing the elements of the vector y.

See Also