Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 3/22/2024
Public
Document Table of Contents

?syevd function

Computes all eigenvalues and, optionally, all eigenvectors of a real symmetric 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 ssyevd(job, uplo, n, a, lda, w, work, lwork, iwork, liwork, info)
call dsyevd(job, uplo, n, a, lda, w, work, lwork, iwork, liwork, info)

Calling from C:

ssyevd(job, uplo, n, a, lda, w, work, lwork, iwork, liwork, info);
dsyevd(job, uplo, n, a, lda, w, work, lwork, iwork, liwork, info);

C Interface

lapack_int LAPACKE_ssyevd(int matrix_layout, char jobz, char uplo, lapack_int n, float* a, lapack_int lda, float* w);
lapack_int LAPACKE_dsyevd(int matrix_layout, char jobz, char uplo, lapack_int n, double* a, lapack_int lda, double* w);