Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 10/31/2024
Public
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.

NOTE:

For a detailed description and reference information on this function, see the Intel® oneAPI Math Kernel Library Developer Reference.

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);