110 SUBROUTINE dlat2s( UPLO, N, A, LDA, SA, LDSA, INFO )
118 INTEGER INFO, LDA, LDSA, N
122 DOUBLE PRECISION A( LDA, * )
129 DOUBLE PRECISION RMAX
135 EXTERNAL slamch, lsame
143 upper = lsame( uplo,
'U' )
147 IF( ( a( i, j ).LT.-rmax ) .OR. ( a( i, j ).GT.rmax ) )
152 sa( i, j ) = real( a( i, j ) )
158 IF( ( a( i, j ).LT.-rmax ) .OR. ( a( i, j ).GT.rmax ) )
163 sa( i, j ) = real( a( i, j ) )
subroutine dlat2s(uplo, n, a, lda, sa, ldsa, info)
DLAT2S converts a double-precision triangular matrix to a single-precision triangular matrix.