GenericLinearAlgebraOperations<T>.Swap Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1

Overload List

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

Interchanges two vectors.

C#
public override void Swap(
	int n,
	Span<T> dx,
	int incx,
	Span<T> dy,
	int incy
)

Parameters

n  Int32
The number of elements in the vectors x and y.
dx  Span<T>
 
incx  Int32
The distance between elements in x.
dy  Span<T>
 
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<Complex<T>>, Int32, Span<Complex<T>>, Int32)

Interchanges two vectors.

C#
public override void Swap(
	int n,
	Span<Complex<T>> zx,
	int incx,
	Span<Complex<T>> zy,
	int incy
)

Parameters

n  Int32
The number of elements in the vectors x and y.
zx  Span<Complex<T>>
 
incx  Int32
The distance between elements in x.
zy  Span<Complex<T>>
 
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