Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 3/31/2023
Public

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

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