143 SUBROUTINE zlaqge( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX,
154 DOUBLE PRECISION amax, colcnd, rowcnd
157 DOUBLE PRECISION c( * ), r( * )
158 COMPLEX*16 a( lda, * )
164 DOUBLE PRECISION one, thresh
165 parameter( one = 1.0d+0, thresh = 0.1d+0 )
169 DOUBLE PRECISION cj, large, small
179 IF( m.LE.0 .OR. n.LE.0 )
THEN
186 small =
dlamch(
'Safe minimum' ) /
dlamch(
'Precision' )
189 IF( rowcnd.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
194 IF( colcnd.GE.thresh )
THEN
206 a( i, j ) = cj*a( i, j )
211 ELSE IF( colcnd.GE.thresh )
THEN
217 a( i, j ) = r( i )*a( i, j )
228 a( i, j ) = cj*r( i )*a( i, j )