128 SUBROUTINE spbequ( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
136 INTEGER INFO, KD, LDAB, N
140 REAL AB( LDAB, * ), S( * )
147 parameter( zero = 0.0e+0, one = 1.0e+0 )
162 INTRINSIC max, min, sqrt
169 upper = lsame( uplo,
'U' )
170 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
172 ELSE IF( n.LT.0 )
THEN
174 ELSE IF( kd.LT.0 )
THEN
176 ELSE IF( ldab.LT.kd+1 )
THEN
180 CALL xerbla(
'SPBEQU', -info )
208 smin = min( smin, s( i ) )
209 amax = max( amax, s( i ) )
212 IF( smin.LE.zero )
THEN
217 IF( s( i ).LE.zero )
THEN
228 s( i ) = one / sqrt( s( i ) )
233 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine spbequ(uplo, n, kd, ab, ldab, s, scond, amax, info)
SPBEQU