Test Matrices for Eigenvalue Analysis

TEST_EIGEN is a FORTRAN77 library which generates eigenvalue test.

The current version of the code can only generate a symmetric matrix with eigenvalues distributed according to a normal distribution whose mean and standard deviation are specified by the user (subroutine R8SYMM_TEST).


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


TEST_EIGEN is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

EISPACK, a FORTRAN77 library which can compute eigenvalues and eigenvectors.

EXPOKIT, a FORTRAN77 library which solves various forms of the matrix exponential problem, by Roger Sidje.

JACOBI_EIGENVALUE, a FORTRAN77library which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.

TEST_MAT, a FORTRAN77 library which defines a number of matrices with known properties. Examples with known eigenvalues and eigenvectors are included.


  1. Robert Gregory, David Karney,
    A Collection of Matrices for Testing Computational Algorithms,
    Wiley, 1969,
    ISBN: 0882756494,
    LC: QA263 G862.
  2. Pete Stewart,
    Efficient Generation of Random Orthogonal Matrices With an Application to Condition Estimators,
    SIAM Journal on Numerical Analysis,
    Volume 17, Number 3, June 1980, pages 403-409.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN77 source codes.

Last revised on 05 February 2008.