Community
cancel
Showing results for 
Search instead for 
Did you mean: 
wang__ningning
Beginner
343 Views

How to compute the max eigenvalue of one real matrix?

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
312 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
305 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
113 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
66 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