139 SUBROUTINE csycon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
154 COMPLEX A( lda, * ), WORK( * )
161 parameter ( one = 1.0e+0, zero = 0.0e+0 )
163 parameter ( czero = ( 0.0e+0, 0.0e+0 ) )
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(
'CSYCON_ROOK', -info )
209 ELSE IF( anorm.LE.zero )
THEN
220 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
228 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
237 CALL clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
242 CALL csytrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
249 $ rcond = ( one / ainvnm ) / anorm
subroutine csytrs_rook(UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO)
CSYTRS_ROOK
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine clacn2(N, V, X, EST, KASE, ISAVE)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...
subroutine csycon_rook(UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK, INFO)
CSYCON_ROOK