OpenMD 3.1
Molecular Dynamics in the Open
|
Computes eigenvalues and eigenvectors of a real (non-complex) symmetric tridiagonal matrix by the QL method. More...
#include <RealSymmetricTridiagonal.hpp>
Public Member Functions | |
RealSymmetricTridiagonal (const DynamicVector< Real > &diagonals, const DynamicVector< Real > &subdiagonals) | |
Construct the eigenvalue decomposition. | |
void | getEigenvectors (DynamicRectMatrix< Real > &V_) |
Return the eigenvector matrix. | |
void | getEigenvalues (DynamicVector< Real > &d_) |
Return the real parts of the eigenvalues. | |
Computes eigenvalues and eigenvectors of a real (non-complex) symmetric tridiagonal matrix by the QL method.
Definition at line 66 of file RealSymmetricTridiagonal.hpp.
|
inline |
Construct the eigenvalue decomposition.
diagonals | the diagonal elements of the input matrix. |
subdiagonals | the subdiagonal elements of the input matrix in its last n-1 positions. subdiagonals[0] is arbitrary. |
Definition at line 199 of file RealSymmetricTridiagonal.hpp.
|
inline |
Return the real parts of the eigenvalues.
Definition at line 224 of file RealSymmetricTridiagonal.hpp.
|
inline |
Return the eigenvector matrix.
Definition at line 216 of file RealSymmetricTridiagonal.hpp.