110 SUBROUTINE stpt06( RCOND, RCONDC, UPLO, DIAG, N, AP, WORK, RAT )
119 REAL RAT, RCOND, RCONDC
122 REAL AP( * ), WORK( * )
129 parameter( zero = 0.0e+0, one = 1.0e+0 )
132 REAL ANORM, BIGNUM, EPS, RMAX, RMIN, SMLNUM
136 EXTERNAL slamch, slantp
143 eps = slamch(
'Epsilon' )
144 rmax = max( rcond, rcondc )
145 rmin = min( rcond, rcondc )
149 IF( rmin.LT.zero )
THEN
155 ELSE IF( rmin.GT.zero )
THEN
159 rat = rmax / rmin - one
161 ELSE IF( rmax.EQ.zero )
THEN
175 smlnum = slamch(
'Safe minimum' )
176 bignum = one / smlnum
177 anorm = slantp(
'M', uplo, diag, n, ap, work )
179 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine stpt06(rcond, rcondc, uplo, diag, n, ap, work, rat)
STPT06