104 SUBROUTINE slacpy( UPLO, M, N, A, LDA, B, LDB )
113 INTEGER LDA, LDB, M, N
116 REAL A( lda, * ), B( ldb, * )
133 IF( lsame( uplo,
'U' ) )
THEN
135 DO 10 i = 1, min( j, m )
136 b( i, j ) = a( i, j )
139 ELSE IF( lsame( uplo,
'L' ) )
THEN
142 b( i, j ) = a( i, j )
148 b( i, j ) = a( i, j )
subroutine slacpy(UPLO, M, N, A, LDA, B, LDB)
SLACPY copies all or part of one two-dimensional array to another.