Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Functions
eigen.h File Reference
#include "deprecated.h"

Go to the source code of this file.

Macros

#define EIGEN_NOMEMORY   (-1)
 
#define EIGEN_NOCONVERGE   (-2)
 
#define _EIGEN_H_DEPRECATED
 

Functions

int blEigen (REAL **M, REAL **Vectors, REAL *lambda, int n)
 

Macro Definition Documentation

#define _EIGEN_H_DEPRECATED

Definition at line 9 of file eigen.h.

#define EIGEN_NOCONVERGE   (-2)

Definition at line 5 of file eigen.h.

#define EIGEN_NOMEMORY   (-1)

Definition at line 4 of file eigen.h.

Function Documentation

int blEigen ( REAL **  matrix,
REAL **  eigenVectors,
REAL eigenValues,
int  matrixSize 
)
Parameters
[in]**matrixSymmetric matrix
[in]matrixSizeDimension of the matrix
[out]**eigenVectorsThe eigen vectors
[out]*eigenValuesThe eigen values
Returns
If >0, the number of Jacobi rotations performed If <0, error: EIGEN_NOMEMORY - memory allocation EIGEN_NOCONVERGE - didn't converge in 50 iterations

Calculates the eigenvalues and eigenvectors of a REAL symmetric matrix Note that this routine destroys the values above the diagonal of the matrix.

  • 02.10.14 Original By: ACRM

Definition at line 115 of file eigen.c.