Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 12/20/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

?hesv function

Computes the solution to the system of linear equations with a Hermitian matrix A and multiple right-hand sides.

Fortran-77 Interface

Calling from Fortran:

call chesv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
call zhesv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)

Calling from C:

chesv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);
zhesv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);

C Interface

lapack_int LAPACKE_chesv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, lapack_complex_float* a, lapack_int lda, lapack_int* ipiv, lapack_complex_float* b, lapack_int ldb);
lapack_int LAPACKE_zhesv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, lapack_complex_double* a, lapack_int lda, lapack_int* ipiv, lapack_complex_double* b, lapack_int ldb);