125 SUBROUTINE dpot06( UPLO, N, NRHS, A, LDA, X, LDX, B, LDB,
134 INTEGER LDA, LDB, LDX, N, NRHS
135 DOUBLE PRECISION RESID
138 DOUBLE PRECISION A( LDA, * ), B( LDB, * ), RWORK( * ),
145 DOUBLE PRECISION ZERO, ONE, NEGONE
146 parameter( zero = 0.0d+0, one = 1.0d+0 )
147 parameter( negone = -1.0d+0 )
151 DOUBLE PRECISION ANORM, BNORM, EPS, XNORM
155 DOUBLE PRECISION DLAMCH, DLANSY
156 EXTERNAL idamax, dlamch, dlansy
168 IF( n.LE.0 .OR. nrhs.EQ.0 )
THEN
175 eps = dlamch(
'Epsilon' )
176 anorm = dlansy(
'I', uplo, n, a, lda, rwork )
177 IF( anorm.LE.zero )
THEN
185 CALL dsymm(
'Left', uplo, n, nrhs, negone, a, lda, x,
193 bnorm = abs(b(idamax( n, b( 1, j ), 1 ),j))
194 xnorm = abs(x(idamax( n, x( 1, j ), 1 ),j))
195 IF( xnorm.LE.zero )
THEN
198 resid = max( resid, ( ( bnorm / anorm ) / xnorm ) / eps )
subroutine dpot06(uplo, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
DPOT06
subroutine dsymm(side, uplo, m, n, alpha, a, lda, b, ldb, beta, c, ldc)
DSYMM