Matrix copy

 

F_SGE_COPY/F_DGE_COPY/F_CGE_COPY/F_ZGE_COPY

Input

TRANS

Specifies whether to apply the matrix (A), its transpose

 

 

(AT), or its conjugate transpose (A*). Use one of the

 

 

following constants:

 

 

BLAS_NO_TRANS

 

 

BLAS_TRANS

 

 

BLAS_CONJ_TRANS

 

M

Number of rows in matrix B, m ≥ 0. If m = 0, the

 

 

subprograms do not reference A or B.

 

N

Number of columns in matrix B, n ≥ 0. If n = 0, the

 

 

subprograms do not reference A or B.

 

A

Array containing the m-by-nmatrix A.

 

LDA

Leading dimension of array A. If lda < 1 or lda < m

 

 

an error flag is set and passed to the error handler

 

B

Array containing the m by n matrix B.

 

LDB

Leading dimension of array B. Under the following

 

 

conditions an error flag is set and passed to the error

 

 

handler:

 

 

TRANS = BLAS_NO_TRANS, and

 

 

lda < 1 or lda < m

 

 

TRANS = BLAS_TRANS, and

 

 

lda < 1 or lda < n

 

 

TRANS = BLAS_CONJ_TRANS, and

 

 

lda < 1 or lda < n

Output

B

Array containing the m-by-nmatrix B copied from A,

 

 

AT, or A*.

Chapter 3 Basic Matrix Operations 359