Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 10/31/2024
Public
Document Table of Contents

?heevd function

Computes all eigenvalues and, optionally, all eigenvectors of a complex Hermitian matrix using divide and conquer algorithm.

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 cheevd(job, uplo, n, a, lda, w, work, lwork, rwork, lrwork, iwork, liwork, info)
call zheevd(job, uplo, n, a, lda, w, work, lwork, rwork, lrwork, iwork, liwork, info)

Calling from C:

cheevd(job, uplo, n, a, lda, w, work, lwork, rwork, lrwork, iwork, liwork, info);
zheevd(job, uplo, n, a, lda, w, work, lwork, rwork, lrwork, iwork, liwork, info);

C Interface

lapack_int LAPACKE_cheevd(int matrix_layout, char jobz, char uplo, lapack_int n, lapack_complex_float* a, lapack_int lda, float* w);
lapack_int LAPACKE_zheevd(int matrix_layout, char jobz, char uplo, lapack_int n, lapack_complex_double* a, lapack_int lda, double* w);