Managed Linear Algebra Operations.Copy Method
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Copy(Int32, ReadOnlySpan<Complex<Double>>, Int32, Span<Complex<Double>>, Int32)
Copies a vector, x, incx, to a vector, y, incy.
public override void Copy(
int n,
ReadOnlySpan<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 ReadOnlySpan<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. 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<Double>, Int32, Span<Double>, Int32)
Copies a vector, x, incx, to a vector, y, incy.
public override void Copy(
int n,
ReadOnlySpan<double> x,
int incx,
Span<double> y,
int incy
)
Parameters
- n Int32
- The number of elements in the vectors x and y.
- x ReadOnlySpan<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. 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<Double>>, Int32, Span<Complex<Double>>, Int32)
Copies the specified elements of a complex matrix.
public override void Copy(
MatrixTriangle storedTriangle,
int m,
int n,
ReadOnlySpan<Complex<double>> a,
int lda,
Span<Complex<double>> 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<Double>>
- A complex array that contains the data for the source matrix.
- lda Int32
- The leading dimension of the matrix a.
- b Span<Complex<Double>>
- 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<Double>, Int32, Span<Double>, Int32)
Copies the specified elements of a complex matrix.
public override void Copy(
MatrixTriangle storedTriangle,
int m,
int n,
ReadOnlySpan<double> a,
int lda,
Span<double> 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<Double>
- A complex array that contains the data for the source matrix.
- lda Int32
- The leading dimension of the matrix a.
- b Span<Double>
- 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.