113 SUBROUTINE dpoequ( 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
142 INTRINSIC max, min, sqrt
151 ELSE IF( lda.LT.max( 1, n ) )
THEN
155 CALL
xerbla(
'DPOEQU', -info )
174 smin = min( smin, s( i ) )
175 amax = max( amax, s( i ) )
178 IF( smin.LE.zero )
THEN
183 IF( s( i ).LE.zero )
THEN
194 s( i ) = one / sqrt( s( i ) )
199 scond = sqrt( smin ) / sqrt( amax )