ManagedLinearAlgebraOperationsOfSingle.Swap Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.3

Overload List

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

Interchanges two vectors.

C#
public override void Swap(
	int n,
	Span<Complex<float>> x,
	int incx,
	Span<Complex<float>> y,
	int incy
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  Span<Complex<Single>>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.
y  Span<Complex<Single>>
A span containing the elements of the vector y.
incy  Int32
The distance between elements in y.

Implements

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

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

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

Interchanges two vectors.

C#
public override void Swap(
	int n,
	Span<float> x,
	int incx,
	Span<float> y,
	int incy
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  Span<Single>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.
y  Span<Single>
A span containing the elements of the vector y.
incy  Int32
The distance between elements in y.

Implements

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

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also