Copies all or part of a real two-dimensional array to a complex array.
call clacp2( uplo, m, n, a, lda, b, ldb )
call zlacp2( uplo, m, n, a, lda, b, ldb )
The routine copies all or part of a real matrix A to another matrix B.
Specifies the part of the matrix A to be copied to B.
If uplo = 'U', the upper triangular part of A;
if uplo = 'L', the lower triangular part of A.
Otherwise, all of the matrix A is copied.
INTEGER. The number of rows in the matrix A (m≥ 0).
INTEGER. The number of columns in A (n≥ 0).
REAL for clacp2
DOUBLE PRECISION for zlacp2
Array, size at least (lda, n), contains 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.
INTEGER. The leading dimension of a; lda≥ max(1, m) .
INTEGER. The leading dimension of the output array b; ldb≥ max(1, m).
COMPLEX for clacp2
DOUBLE COMPLEX for zlacp2.
Array, size (ldb, n).
On exit, B = A in the locations specified by uplo.
INTEGER. If info = 0, the execution is successful.
If info < 0, the i-th parameter had an illegal value.
If info = -1011, memory allocation error occurred.