122 SUBROUTINE ztrt06( RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK,
133 DOUBLE PRECISION RAT, RCOND, RCONDC
136 DOUBLE PRECISION RWORK( * )
137 COMPLEX*16 A( lda, * )
143 DOUBLE PRECISION ZERO, ONE
144 parameter ( zero = 0.0d+0, one = 1.0d+0 )
147 DOUBLE PRECISION ANORM, BIGNUM, EPS, RMAX, RMIN
150 DOUBLE PRECISION DLAMCH, ZLANTR
151 EXTERNAL dlamch, zlantr
158 eps = dlamch(
'Epsilon' )
159 rmax = max( rcond, rcondc )
160 rmin = min( rcond, rcondc )
164 IF( rmin.LT.zero )
THEN
170 ELSE IF( rmin.GT.zero )
THEN
174 rat = rmax / rmin - one
176 ELSE IF( rmax.EQ.zero )
THEN
190 bignum = one / dlamch(
'Safe minimum' )
191 anorm = zlantr(
'M', uplo, diag, n, n, a, lda, rwork )
193 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ztrt06(RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK, RAT)
ZTRT06