113 SUBROUTINE sppequ( UPLO, N, AP, S, SCOND, AMAX, INFO )
132 parameter( one = 1.0e+0, zero = 0.0e+0 )
147 INTRINSIC max, min, sqrt
154 upper = lsame( uplo,
'U' )
155 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
157 ELSE IF( n.LT.0 )
THEN
161 CALL xerbla(
'SPPEQU', -info )
188 smin = min( smin, s( i ) )
189 amax = max( amax, s( i ) )
201 smin = min( smin, s( i ) )
202 amax = max( amax, s( i ) )
206 IF( smin.LE.zero )
THEN
211 IF( s( i ).LE.zero )
THEN
222 s( i ) = one / sqrt( s( i ) )
227 scond = sqrt( smin ) / sqrt( amax )
subroutine sppequ(uplo, n, ap, s, scond, amax, info)
SPPEQU