Skip to content

Function to compute the normed eigenvectors from the eigenvalues of a Hermitian matrix.

License

Notifications You must be signed in to change notification settings

cgyurgyik/eigenvectors-from-eigenvalues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eigenvectors From Eigenvalues

  • Implementing the formula necessary to compute normed eigenvectors given only eigenvalues in a Hermitian matrix.

[MATLAB] A Few Statistics

  • Read with suspicion. While these were conducted with MATLAB online, no effort was taken to determine whether other underlying factors may play a role here.
  • These trials were conducted with 10 runs averaged per matrix size N. A technique introduced to minimize underflow is to divide numbers that are relatively close to each other in size. The goal is to get each division as close as possible to 1. This requires sorting the results of the product using MATLAB's sort(). While our precision did improve, it was at the cost of speed, since it requires sorting N elements twice. Still, it was quicker to find a random N eigenvector using GetEigenvectorsFromEigenvalues (GEFE) when N is large. To minimize this cost, MATLAB's parallel for loops were initiated when N was large.

Average Time to Retrieve the Nth Eigenvector

  • The absolute tolerance was measured by taking the average absolute tolerance of each value (compared with eig) in the given random eigenvector.

Average Absolute Tolerance

[C++] Dependencies

Acknowledgements