Linear Algebra Operations<T>.Copy Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Copy( | Copies a vector, x, to a vector, y. |
Copy( | Copies a vector, x, to a vector, y. |
Copy( | Copies all or part of a two-dimensional matrix A to another matrix B. |
Copy( | Copies the specified elements of a complex matrix. |
Copy(Int32, ArraySlice<T>, ArraySlice<T>)
Copies a vector, x, to a vector, y.
public virtual void Copy(
int n,
ArraySlice<T> dx,
ArraySlice<T> dy
)
Parameters
- n Int32
- dx ArraySlice<T>
- dy ArraySlice<T>
Implements
ILinearAlgebraOperations<T>.Copy(Int32, ArraySlice<T>, ArraySlice<T>)Remarks
uses unrolled loops for increments equal to one.
Further Details:
jack dongarra, linpack, 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
Copy(Int32, ArraySlice<Complex<T>>, ArraySlice<Complex<T>>)
Copies a vector, x, to a vector, y.
public virtual void Copy(
int n,
ArraySlice<Complex<T>> zx,
ArraySlice<Complex<T>> zy
)
Parameters
- n Int32
- zx ArraySlice<Complex<T>>
- zy ArraySlice<Complex<T>>
Implements
ILinearAlgebraOperations<T>.Copy(Int32, ArraySlice<T>, ArraySlice<T>)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, Array2D<T>, Array2D<T>)
Copies all or part of a two-dimensional matrix A to another matrix B.
public virtual void Copy(
MatrixTriangle storedTriangle,
int m,
int n,
Array2D<T> a,
Array2D<T> b
)
Parameters
- storedTriangle MatrixTriangle
Specifies the part of the matrix A to be copied to B. = 'U': Upper triangular part = 'L': Lower triangular part Otherwise: All of the matrix A
- m Int32
The number of rows of the matrix A. M >= 0.
- n Int32
The number of columns of the matrix A. N >= 0.
- a Array2D<T>
Dimension (LDA,N) The m by n matrix A. If UPLO = 'U', only the upper triangle or trapezoid is accessed; if UPLO = 'L', only the lower triangle or trapezoid is accessed.
The leading dimension of the array A. LDA >= max(1,M).
- b Array2D<T>
Dimension (LDB,N) On exit, B = A in the locations specified by UPLO.
The leading dimension of the array B. LDB >= max(1,M).
Implements
ILinearAlgebraOperations<T>.Copy(MatrixTriangle, Int32, Int32, Array2D<T>, Array2D<T>)Remarks
Copy(MatrixTriangle, Int32, Int32, Array2D<Complex<T>>, Array2D<Complex<T>>)
public virtual void Copy(
MatrixTriangle storedTriangle,
int m,
int n,
Array2D<Complex<T>> a,
Array2D<Complex<T>> b
)
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 Array2D<Complex<T>>
- A complex array that contains the data for the source matrix.
- b Array2D<Complex<T>>
- A complex array that contains the data for the destination matrix.