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
172 DOUBLE PRECISION DLAMCH
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 )
subroutine zlaqge(M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, EQUED)
ZLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ...