Main       Download       Commercial support       FAQ       Forum       About Us

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++ evd subpackage   
C# evd subpackage   

This article is intended for personal use only.

Download ALGLIB

C#

C# source.

Downloads page

 

C++

C++ source.

Downloads page

 

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.

Downloads page

 

FreePascal

FreePascal version.

Downloads page

 

Delphi

Delphi version.

Downloads page

 

VB.NET

VB.NET version.

Downloads page

 

VBA

VBA version.

Downloads page

 

Python

Python version (CPython and IronPython are supported).

Downloads page

 

 

ALGLIB® - numerical analysis library, 1999-2012.
ALGLIB is a registered trademark of the ALGLIB Project.