112 SUBROUTINE stpt06( RCOND, RCONDC, UPLO, DIAG, N, AP, WORK, RAT )
122 REAL RAT, RCOND, RCONDC
125 REAL AP( * ), WORK( * )
132 parameter ( zero = 0.0e+0, one = 1.0e+0 )
135 REAL ANORM, BIGNUM, EPS, RMAX, RMIN, SMLNUM
139 EXTERNAL slamch, slantp
149 eps = slamch(
'Epsilon' )
150 rmax = max( rcond, rcondc )
151 rmin = min( rcond, rcondc )
155 IF( rmin.LT.zero )
THEN
161 ELSE IF( rmin.GT.zero )
THEN
165 rat = rmax / rmin - one
167 ELSE IF( rmax.EQ.zero )
THEN
181 smlnum = slamch(
'Safe minimum' )
182 bignum = one / smlnum
183 CALL slabad( smlnum, bignum )
184 anorm = slantp(
'M', uplo, diag, n, ap, work )
186 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine slabad(SMALL, LARGE)
SLABAD
subroutine stpt06(RCOND, RCONDC, UPLO, DIAG, N, AP, WORK, RAT)
STPT06