113 SUBROUTINE ctpt06( RCOND, RCONDC, UPLO, DIAG, N, AP, RWORK, RAT )
123 REAL RAT, RCOND, RCONDC
134 parameter ( zero = 0.0e+0, one = 1.0e+0 )
137 REAL ANORM, BIGNUM, EPS, RMAX, RMIN
141 EXTERNAL clantp, slamch
148 eps = slamch(
'Epsilon' )
149 rmax = max( rcond, rcondc )
150 rmin = min( rcond, rcondc )
154 IF( rmin.LT.zero )
THEN
160 ELSE IF( rmin.GT.zero )
THEN
164 rat = rmax / rmin - one
166 ELSE IF( rmax.EQ.zero )
THEN
180 bignum = one / slamch(
'Safe minimum' )
181 anorm = clantp(
'M', uplo, diag, n, ap, rwork )
183 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ctpt06(RCOND, RCONDC, UPLO, DIAG, N, AP, RWORK, RAT)
CTPT06