141 SUBROUTINE claqge( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX,
151 REAL AMAX, COLCND, ROWCND
162 parameter( one = 1.0e+0, thresh = 0.1e+0 )
166 REAL CJ, LARGE, SMALL
176 IF( m.LE.0 .OR. n.LE.0 )
THEN
183 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
186 IF( rowcnd.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
191 IF( colcnd.GE.thresh )
THEN
203 a( i, j ) = cj*a( i, j )
208 ELSE IF( colcnd.GE.thresh )
THEN
214 a( i, j ) = r( i )*a( i, j )
225 a( i, j ) = cj*r( i )*a( i, j )
subroutine claqge(m, n, a, lda, r, c, rowcnd, colcnd, amax, equed)
CLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ.