203 SUBROUTINE zhesv_rook( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK,
212 INTEGER INFO, LDA, LDB, LWORK, N, NRHS
216 COMPLEX*16 A( LDA, * ), B( LDB, * ), WORK( * )
228 EXTERNAL lsame, ilaenv
241 lquery = ( lwork.EQ.-1 )
242 IF( .NOT.lsame( uplo,
'U' ) .AND. .NOT.lsame( uplo,
'L' ) )
THEN
244 ELSE IF( n.LT.0 )
THEN
246 ELSE IF( nrhs.LT.0 )
THEN
248 ELSE IF( lda.LT.max( 1, n ) )
THEN
250 ELSE IF( ldb.LT.max( 1, n ) )
THEN
252 ELSE IF( lwork.LT.1 .AND. .NOT.lquery )
THEN
260 nb = ilaenv( 1,
'ZHETRF_ROOK', uplo, n, -1, -1, -1 )
267 CALL xerbla(
'ZHESV_ROOK ', -info )
269 ELSE IF( lquery )
THEN
275 CALL zhetrf_rook( uplo, n, a, lda, ipiv, work, lwork, info )
282 CALL zhetrs_rook( uplo, n, nrhs, a, lda, ipiv, b, ldb, info )
subroutine xerbla(srname, info)
subroutine zhesv_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
ZHESV_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using the ...
subroutine zhetrf_rook(uplo, n, a, lda, ipiv, work, lwork, info)
ZHETRF_ROOK computes the factorization of a complex Hermitian indefinite matrix using the bounded Bun...
subroutine zhetrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
ZHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using fac...