226 SUBROUTINE zhesv_rk( UPLO, N, NRHS, A, LDA, E, IPIV, B, LDB, WORK,
235 INTEGER INFO, LDA, LDB, LWORK, N, NRHS
239 COMPLEX*16 A( LDA, * ), B( LDB, * ), E( * ), WORK( * )
263 lquery = ( lwork.EQ.-1 )
264 IF( .NOT.lsame( uplo,
'U' ) .AND. .NOT.lsame( uplo,
'L' ) )
THEN
266 ELSE IF( n.LT.0 )
THEN
268 ELSE IF( nrhs.LT.0 )
THEN
270 ELSE IF( lda.LT.max( 1, n ) )
THEN
272 ELSE IF( ldb.LT.max( 1, n ) )
THEN
274 ELSE IF( lwork.LT.1 .AND. .NOT.lquery )
THEN
282 CALL zhetrf_rk( uplo, n, a, lda, e, ipiv, work, -1, info )
283 lwkopt = int( dble( work( 1 ) ) )
289 CALL xerbla(
'ZHESV_RK ', -info )
291 ELSE IF( lquery )
THEN
298 CALL zhetrf_rk( uplo, n, a, lda, e, ipiv, work, lwork, info )
304 CALL zhetrs_3( uplo, n, nrhs, a, lda, e, ipiv, b, ldb, info )
subroutine xerbla(srname, info)
subroutine zhesv_rk(uplo, n, nrhs, a, lda, e, ipiv, b, ldb, work, lwork, info)
ZHESV_RK computes the solution to system of linear equations A * X = B for SY matrices
subroutine zhetrf_rk(uplo, n, a, lda, e, ipiv, work, lwork, info)
ZHETRF_RK computes the factorization of a complex Hermitian indefinite matrix using the bounded Bunch...
subroutine zhetrs_3(uplo, n, nrhs, a, lda, e, ipiv, b, ldb, info)
ZHETRS_3