137 SUBROUTINE checon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
151 COMPLEX A( LDA, * ), WORK( * )
158 parameter( one = 1.0e+0, zero = 0.0e+0 )
183 upper = lsame( uplo,
'U' )
184 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
186 ELSE IF( n.LT.0 )
THEN
188 ELSE IF( lda.LT.max( 1, n ) )
THEN
190 ELSE IF( anorm.LT.zero )
THEN
194 CALL xerbla(
'CHECON_ROOK', -info )
204 ELSE IF( anorm.LE.zero )
THEN
215 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
223 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
232 CALL clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
237 CALL chetrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
244 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine checon_rook(uplo, n, a, lda, ipiv, anorm, rcond, work, info)
CHECON_ROOK estimates the reciprocal of the condition number fort HE matrices using factorization obt...
subroutine chetrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
CHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using fac...
subroutine clacn2(n, v, x, est, kase, isave)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...