ManagedLinearAlgebraOperationsOfSingle.Copy Method

Definition

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

Overload List

Copy(Int32, ReadOnlySpan<Complex<Single>>, Int32, Span<Complex<Single>>, Int32)

Copies a vector, x, incx, to a vector, y, incy.

C#
public override void Copy(
	int n,
	ReadOnlySpan<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  ReadOnlySpan<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. The elements of y are overwritten with the elements of x.
incy  Int32
The distance between elements in y.

Implements

ILinearAlgebraOperations<T>.Copy(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

Further Details:

            jack dongarra, linpack, 4/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

Copy(Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32)

Copies a vector, x, incx, to a vector, y, incy.

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

Parameters

n  Int32
The number of elements in the vectors x and y.
x  ReadOnlySpan<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. The elements of y are overwritten with the elements of x.
incy  Int32
The distance between elements in y.

Implements

ILinearAlgebraOperations<T>.Copy(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

Further Details:

            jack dongarra, linpack, 4/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

Copy(MatrixTriangle, Int32, Int32, ReadOnlySpan<Complex<Single>>, Int32, Span<Complex<Single>>, Int32)

Copies the specified elements of a complex matrix.
C#
public override void Copy(
	MatrixTriangle storedTriangle,
	int m,
	int n,
	ReadOnlySpan<Complex<float>> a,
	int lda,
	Span<Complex<float>> b,
	int ldb
)

Parameters

storedTriangle  MatrixTriangle
A MatrixTriangle value that specifies which part of the matrix should be copied.
m  Int32
The number of rows of the matrices.
n  Int32
The number of columns of the matrices.
a  ReadOnlySpan<Complex<Single>>
A complex array that contains the data for the source matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<Complex<Single>>
A complex array that contains the data for the destination matrix.
ldb  Int32
The leading dimension of the matrix b.

Implements

ILinearAlgebraOperations<T>.Copy(MatrixTriangle, Int32, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

This method corresponds to the LAPACK routine ?LACPY.

Copy(MatrixTriangle, Int32, Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32)

Copies the specified elements of a complex matrix.
C#
public override void Copy(
	MatrixTriangle storedTriangle,
	int m,
	int n,
	ReadOnlySpan<float> a,
	int lda,
	Span<float> b,
	int ldb
)

Parameters

storedTriangle  MatrixTriangle
A MatrixTriangle value that specifies which part of the matrix should be copied.
m  Int32
The number of rows of the matrices.
n  Int32
The number of columns of the matrices.
a  ReadOnlySpan<Single>
A complex array that contains the data for the source matrix.
lda  Int32
The leading dimension of the matrix a.
b  Span<Single>
A complex array that contains the data for the destination matrix.
ldb  Int32
The leading dimension of the matrix b.

Implements

ILinearAlgebraOperations<T>.Copy(MatrixTriangle, Int32, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

This method corresponds to the LAPACK routine ?LACPY.

See Also