102 SUBROUTINE slacpy( UPLO, M, N, A, LDA, B, LDB )
110 INTEGER LDA, LDB, M, N
113 REAL 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 )
136 ELSE IF( lsame( uplo,
'L' ) )
THEN
139 b( i, j ) = a( i, j )
145 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.