120 SUBROUTINE ztrt06( RCOND, RCONDC, UPLO, DIAG, N, A, LDA, RWORK,
130 DOUBLE PRECISION RAT, RCOND, RCONDC
133 DOUBLE PRECISION RWORK( * )
134 COMPLEX*16 A( LDA, * )
140 DOUBLE PRECISION ZERO, ONE
141 parameter( zero = 0.0d+0, one = 1.0d+0 )
144 DOUBLE PRECISION ANORM, BIGNUM, EPS, RMAX, RMIN
147 DOUBLE PRECISION DLAMCH, ZLANTR
148 EXTERNAL dlamch, zlantr
155 eps = dlamch(
'Epsilon' )
156 rmax = max( rcond, rcondc )
157 rmin = min( rcond, rcondc )
161 IF( rmin.LT.zero )
THEN
167 ELSE IF( rmin.GT.zero )
THEN
171 rat = rmax / rmin - one
173 ELSE IF( rmax.EQ.zero )
THEN
187 bignum = one / dlamch(
'Safe minimum' )
188 anorm = zlantr(
'M', uplo, diag, n, n, a, lda, rwork )
190 rat = rmax*( min( bignum / max( one, anorm ), one / eps ) )
subroutine ztrt06(rcond, rcondc, uplo, diag, n, a, lda, rwork, rat)
ZTRT06