Bioplib
Protein Structure C Library
|
Calculates Eigen values and Eigen vectors for a symmetric matrix. More...
Go to the source code of this file.
Macros | |
#define | MAXITERATION 50 /* Maximum number of iterations */ |
#define | TESTSMALL(x, y) ((fabs(y)+(x)) == fabs(y)) |
Functions | |
int | blEigen (REAL **matrix, REAL **eigenVectors, REAL *eigenValues, int matrixSize) |
Calculates Eigen values and Eigen vectors for a symmetric matrix.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Definition in file eigen.c.
[in] | **matrix | Symmetric matrix |
[in] | matrixSize | Dimension of the matrix |
[out] | **eigenVectors | The eigen vectors |
[out] | *eigenValues | The eigen values |
Calculates the eigenvalues and eigenvectors of a REAL symmetric matrix Note that this routine destroys the values above the diagonal of the matrix.