104 SUBROUTINE zlag2c( M, N, A, LDA, SA, LDSA, INFO )
111 INTEGER INFO, LDA, LDSA, M, N
114 COMPLEX SA( LDSA, * )
115 COMPLEX*16 A( LDA, * )
122 DOUBLE PRECISION RMAX
125 INTRINSIC dble, dimag, cmplx
136 IF( ( dble( a( i, j ) ).LT.-rmax ) .OR.
137 $ ( dble( a( i, j ) ).GT.rmax ) .OR.
138 $ ( dimag( a( i, j ) ).LT.-rmax ) .OR.
139 $ ( dimag( a( i, j ) ).GT.rmax ) )
THEN
143 sa( i, j ) = cmplx( a( i, j ) )
subroutine zlag2c(m, n, a, lda, sa, ldsa, info)
ZLAG2C converts a complex double precision matrix to a complex single precision matrix.