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

?syev function

Computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix.

Fortran-77 Interface

Calling from Fortran:

call ssyev(jobz, uplo, n, a, lda, w, work, lwork, info)
call dsyev(jobz, uplo, n, a, lda, w, work, lwork, info)

Calling from C:

ssyev(jobz, uplo, n, a, lda, w, work, lwork, info);
dsyev(jobz, uplo, n, a, lda, w, work, lwork, info);

C Interface

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