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 two-dimensional matrix A to another matrix B.
CHARACTER*1.
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 a(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 b(ldb,m), contains the m-by-n matrix B.
On exit, B = A in the locations specified by uplo.