ManagedLinearAlgebraOperations.Swap Method

Definition

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

Overload List

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

Interchanges two vectors.

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

Parameters

n  Int32
The number of elements in the vectors x and y.
x  Span<Complex<Double>>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.
y  Span<Complex<Double>>
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<Double>, Int32, Span<Double>, Int32)

Interchanges two vectors.

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

Parameters

n  Int32
The number of elements in the vectors x and y.
x  Span<Double>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.
y  Span<Double>
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