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