102 SUBROUTINE clacpy( UPLO, M, N, A, LDA, B, LDB )
110 INTEGER LDA, LDB, M, N
113 COMPLEX A( LDA, * ), B( LDB, * )
130 IF( lsame( uplo,
'U' ) )
THEN
132 DO 10 i = 1, min( j, m )
133 b( i, j ) = a( i, j )
137 ELSE IF( lsame( uplo,
'L' ) )
THEN
140 b( i, j ) = a( i, j )
147 b( i, j ) = a( i, j )
subroutine clacpy(uplo, m, n, a, lda, b, ldb)
CLACPY copies all or part of one two-dimensional array to another.