108 SUBROUTINE dlat2s( UPLO, N, A, LDA, SA, LDSA, INFO )
116 INTEGER INFO, LDA, LDSA, N
120 DOUBLE PRECISION A( LDA, * )
127 DOUBLE PRECISION RMAX
133 EXTERNAL slamch, lsame
141 upper = lsame( uplo,
'U' )
145 IF( ( a( i, j ).LT.-rmax ) .OR. ( a( i, j ).GT.rmax ) )
150 sa( i, j ) = real( a( i, j ) )
156 IF( ( a( i, j ).LT.-rmax ) .OR. ( a( i, j ).GT.rmax ) )
161 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.