113 SUBROUTINE spoequ( N, A, LDA, S, SCOND, AMAX, INFO )
125 REAL a( lda, * ), s( * )
132 parameter( zero = 0.0e+0, one = 1.0e+0 )
142 INTRINSIC max, min, sqrt
151 ELSE IF( lda.LT.max( 1, n ) )
THEN
155 CALL
xerbla(
'SPOEQU', -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 )