130 SUBROUTINE spbequ( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
139 INTEGER INFO, KD, LDAB, N
143 REAL AB( ldab, * ), S( * )
150 parameter ( zero = 0.0e+0, one = 1.0e+0 )
165 INTRINSIC max, min, sqrt
172 upper = lsame( uplo,
'U' )
173 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
175 ELSE IF( n.LT.0 )
THEN
177 ELSE IF( kd.LT.0 )
THEN
179 ELSE IF( ldab.LT.kd+1 )
THEN
183 CALL xerbla(
'SPBEQU', -info )
211 smin = min( smin, s( i ) )
212 amax = max( amax, s( i ) )
215 IF( smin.LE.zero )
THEN
220 IF( s( i ).LE.zero )
THEN
231 s( i ) = one / sqrt( s( i ) )
236 scond = sqrt( smin ) / sqrt( amax )
subroutine spbequ(UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO)
SPBEQU
subroutine xerbla(SRNAME, INFO)
XERBLA