113 SUBROUTINE ztpt06( RCOND, RCONDC, UPLO, DIAG, N, AP, RWORK, RAT )
123 DOUBLE PRECISION RAT, RCOND, RCONDC
126 DOUBLE PRECISION RWORK( * )
133 DOUBLE PRECISION ZERO, ONE
134 parameter ( zero = 0.0d+0, one = 1.0d+0 )
137 DOUBLE PRECISION ANORM, BIGNUM, EPS, RMAX, RMIN
140 DOUBLE PRECISION DLAMCH, ZLANTP
141 EXTERNAL dlamch, zlantp
148 eps = dlamch(
'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 / dlamch(
'Safe minimum' )
181 anorm = zlantp(
'M', uplo, diag, n, ap, rwork )
183 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ztpt06(RCOND, RCONDC, UPLO, DIAG, N, AP, RWORK, RAT)
ZTPT06