DIAGONALIZATION


Function

Diagonalization contains a procedure for finding the eigenvalues and eigenvectors of a real symmetric matrix stored in upper triangular form. The procedure is, in fact, a front end to the public domain LAPACK subroutine DSPEV which is supplied with the library.

Dependencies

Module Variables
DEFINITIONS DP
STATUS ERROR


Public Variables

None.

Public Procedures

There is a single public subroutine in this module.

SubroutinePurpose
SYMMETRIC_UPPER Find the eigenvalues and eigenvectors of a real symmetric matrix stored in upper triangular form.


SYMMETRIC_UPPER

Argument Type Intent Optional Purpose
MATRIX Real(:) InOut No The matrix.
EIGENVALUES Real(:) Out No The eigenvalues.
EIGENVECTORS Real(:,:) Out Yes The eigenvectors.


Error Meaning
Array dimension error. There is an inconsistency between the array dimensions of MATRIX, EIGENVALUES and EIGENVECTORS.
Diagonalization error. The matrix cannot be diagonalized for some reason.




Stability

Stable.



Back to the DYNAMO Home-Page.