Contents
Main
Site map
Links
Site and author
News
Contact

Eigenvalues and eigenvectors of a Hermitian matrix

Complex number λ and complex vector z are called an eigen pair of a complex matrix A, if Az = λz. If matrix A of size NxN is Hermitian, it has N eigenvalues (not necessarily distinctive) and N corresponding eigenvectors which form an orthonormal basis (generally, eigenvectors are not orthogonal, and their number could be less than N). For more information see description of the similar algorithm for real symmetric matrices.

Subroutine description

This algorithm finds all the eigenvalues (and, if needed, the eigenvectors) of a Hermitian matrix. The Hermitian matrix is reduced to real tridiagonal form by using orthogonal transformation. After that, the algorithm for solving this problem for a tridiagonal matrix is called. The algorithm is iterative, so, theoretically, it may not converge. In this case, it returns False.

This algorithm uses the subroutines from the LAPACK 3.0 library.

Manual entries

C++ hevd.h   
C# hevd.cs   
MPFR hevd.h   
Delphi hevd.pas   
FreePascal hevd.pas   
VBA hevd.bas   

This article is intended for personal use only.

Download ALGLIB

C#

C# source.

alglib-2.4.0.csharp.zip

 

C++

C++ source.

alglib-2.4.0.cpp.zip

 

C++, multiple precision arithmetic

C++ source. MPFR/GMP is used.

GMP source is available from gmplib.org. MPFR source is available from www.mpfr.org.

alglib-2.4.0.mpfr.zip

 

FreePascal

FreePascal source.

alglib-2.4.0.freepascal.zip

 

Delphi

Delphi source.

alglib-2.4.0.delphi.zip

 

Visual Basic

VBA source.

alglib-2.4.0.vb6.zip

 


 
 
Sergey Bochkanov, Vladimir Bystritsky
Copyright © 1999-2010