Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6587 Discussions

How to compute the max eigenvalue of one real matrix?

wang__ningning
Beginner
721 Views

How to compute the max eigenvalue of one real matrix? I only need the max eigenvalue, and best a function with fewer arguments in the calling sequence.

Labels (2)
0 Kudos
4 Replies
Ruqiu_C_Intel
Employee
690 Views

Hello wang__ningning,


There are lots of functions to compute eigenvalue, for example ?sygvx can select eigenvalues by specifying either or range of indices for the desired eigenvalues. For more details please refer to the MKL developer reference: https://software.intel.com/content/www/us/en/develop/documentation/mkl-developer-reference-fortran/t...


Regards,

Ruqiu




wang__ningning
Beginner
683 Views

Yeah, I know there are many functions for Fortran 95 to compute the eigenvalue of real matrix. But in my test, the syevd is the most fast function than other functions, such as the sygvx, which can select eigenvalues.  So I want to konw which function is the most efficient to compute the eigenvalues?

Ruqiu_C_Intel
Employee
491 Views

 Hello Wang_Ningning,

Have you checked this function below in the developer reference for computing the largest/smallest eigenvalues and corresponding eigenvectors of a standard eigenvalue problem:

mkl_sparse_?_ev (intel.com)

 

and set the first input parameter "which" as:

 
Indicates eigenvalues for which to search:
  • which = 'L'
     indicates the largest eigenvalues.
  • which = 'S'
     indicates the smallest eigenvalues.

MRajesh_intel
Moderator
444 Views

Hi,


Since we didn't hear back from you, we are closing this thread for now. If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Have a Good day.

Regards

Rajesh


Reply