ManagedLinearAlgebraOperationsOfSingle.Swap Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4

Overload List

Swap(Int32, ArraySlice<Complex<Single>>, ArraySlice<Complex<Single>>) Exchanges the elements of two vectors.
Swap(Int32, ArraySlice<Single>, ArraySlice<Single>) Exchanges the elements of two vectors.

Swap(Int32, ArraySlice<Complex<Single>>, ArraySlice<Complex<Single>>)

Exchanges the elements of two vectors.
C#
public override void Swap(
	int n,
	ArraySlice<Complex<float>> x,
	ArraySlice<Complex<float>> y
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  ArraySlice<Complex<Single>>
A reference to a one-dimensional array containing the elements of the vector x.
y  ArraySlice<Complex<Single>>
A reference to a one-dimensional array containing the elements of the vector y.

Implements

ILinearAlgebraOperations<T>.Swap(Int32, ArraySlice<T>, ArraySlice<T>)

Swap(Int32, ArraySlice<Single>, ArraySlice<Single>)

Exchanges the elements of two vectors.
C#
public override void Swap(
	int n,
	ArraySlice<float> x,
	ArraySlice<float> y
)

Parameters

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

Implements

ILinearAlgebraOperations<T>.Swap(Int32, ArraySlice<T>, ArraySlice<T>)

See Also