113 SUBROUTINE dpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
122 DOUBLE PRECISION AMAX, SCOND
125 DOUBLE PRECISION A( lda, * ), S( * )
131 DOUBLE PRECISION ZERO, ONE
132 parameter ( zero = 0.0d+0, one = 1.0d+0 )
136 DOUBLE PRECISION SMIN, BASE, TMP
139 DOUBLE PRECISION DLAMCH
146 INTRINSIC max, min, sqrt, log, int
157 ELSE IF( lda.LT.max( 1, n ) )
THEN
161 CALL xerbla(
'DPOEQUB', -info )
174 tmp = -0.5d+0 / log( base )
183 smin = min( smin, s( i ) )
184 amax = max( amax, s( i ) )
187 IF( smin.LE.zero )
THEN
192 IF( s( i ).LE.zero )
THEN
203 s( i ) = base ** int( tmp * log( s( i ) ) )
208 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine dpoequb(N, A, LDA, S, SCOND, AMAX, INFO)
DPOEQUB