144 SUBROUTINE dsycon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
155 DOUBLE PRECISION ANORM, RCOND
158 INTEGER IPIV( * ), IWORK( * )
159 DOUBLE PRECISION A( lda, * ), WORK( * )
165 DOUBLE PRECISION ONE, ZERO
166 parameter ( one = 1.0d+0, zero = 0.0d+0 )
171 DOUBLE PRECISION AINVNM
191 upper = lsame( uplo,
'U' )
192 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
194 ELSE IF( n.LT.0 )
THEN
196 ELSE IF( lda.LT.max( 1, n ) )
THEN
198 ELSE IF( anorm.LT.zero )
THEN
202 CALL xerbla(
'DSYCON_ROOK', -info )
212 ELSE IF( anorm.LE.zero )
THEN
223 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
231 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
240 CALL dlacn2( n, work( n+1 ), work, iwork, ainvnm, kase, isave )
245 CALL dsytrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
252 $ rcond = ( one / ainvnm ) / anorm
subroutine dsytrs_rook(UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO)
DSYTRS_ROOK
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine dsycon_rook(UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK, IWORK, INFO)
DSYCON_ROOK
subroutine dlacn2(N, V, X, ISGN, EST, KASE, ISAVE)
DLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...