Go to the source code of this file.
|
template<typename TA , typename TB > |
void | tlapack::legacy::lacpy (MatrixType matrixtype, idx_t m, idx_t n, const TA *A, idx_t lda, TB *B, idx_t ldb) |
| Copies a real matrix from A to B where A is either a full, upper triangular or lower triangular matrix.
|
|
template<class uplo_t , typename TA , typename TB > |
void | tlapack::legacy::lacpy (uplo_t uplo, idx_t m, idx_t n, const TA *A, idx_t lda, TB *B, idx_t ldb) |
| Copies a matrix from A to B.
|
|
- Author
- Weslley S Pereira, University of Colorado Denver, USA
- Note
- Adapted from
- See also
- https://github.com/langou/latl/blob/master/include/lacpy.h
◆ lacpy()
template<class uplo_t , typename TA , typename TB >
void tlapack::legacy::lacpy |
( |
uplo_t |
uplo, |
|
|
idx_t |
m, |
|
|
idx_t |
n, |
|
|
const TA * |
A, |
|
|
idx_t |
lda, |
|
|
TB * |
B, |
|
|
idx_t |
ldb |
|
) |
| |
Copies a matrix from A to B.
- Template Parameters
-
uplo_t | Either Uplo or any class that implements operator Uplo() . |
- Parameters
-
[in] | uplo |
- Uplo::Upper: Upper triangle of A and B are referenced;
- Uplo::Lower: Lower triangle of A and B are referenced;
- Uplo::General: All entries of A are referenced; the first m rows of B and first n columns of B are referenced.
|
[in] | m | Number of rows of A. |
[in] | n | Number of columns of A. |
[in] | A | m-by-n matrix. |
[in] | lda | Leading dimension of A. |
[out] | B | Matrix with at least m rows and at least n columns. |
[in] | ldb | Leading dimension of B. |