142 SUBROUTINE dsycon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
152 DOUBLE PRECISION ANORM, RCOND
155 INTEGER IPIV( * ), IWORK( * )
156 DOUBLE PRECISION A( LDA, * ), WORK( * )
162 DOUBLE PRECISION ONE, ZERO
163 parameter( one = 1.0d+0, zero = 0.0d+0 )
168 DOUBLE PRECISION AINVNM
188 upper = lsame( uplo,
'U' )
189 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
191 ELSE IF( n.LT.0 )
THEN
193 ELSE IF( lda.LT.max( 1, n ) )
THEN
195 ELSE IF( anorm.LT.zero )
THEN
199 CALL xerbla(
'DSYCON_ROOK', -info )
209 ELSE IF( anorm.LE.zero )
THEN
220 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
228 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
237 CALL dlacn2( n, work( n+1 ), work, iwork, ainvnm, kase, isave )
242 CALL dsytrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
249 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine dsycon_rook(uplo, n, a, lda, ipiv, anorm, rcond, work, iwork, info)
DSYCON_ROOK
subroutine dsytrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
DSYTRS_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...