|
ARPACK-Armadillo
|
#include <UpperHessenbergEigen.h>
Public Member Functions | |
| UpperHessenbergEigen () | |
| UpperHessenbergEigen (const Matrix &mat) | |
| void | compute (const Matrix &mat) |
| ComplexVector | eigenvalues () |
| ComplexMatrix | eigenvectors () |
Calculate the eigenvalues and eigenvectors of an upper Hessenberg matrix.
| Scalar | The element type of the matrix. Currently supported types are float and double. |
This class is a wrapper of the Lapack functions _lahqr and _trevc.
Definition at line 27 of file UpperHessenbergEigen.h.
|
inline |
Default constructor. Computation can be performed later by calling the compute() method.
Definition at line 56 of file UpperHessenbergEigen.h.
|
inline |
Constructor to create an object that calculates the eigenvalues and eigenvectors of an upper Hessenberg matrix mat.
| mat | Matrix type can be arma::mat or arma::fmat, depending on the template parameter Scalar defined. Only the upper triangular and the lower subdiagonal parts of the matrix are used. |
Definition at line 69 of file UpperHessenbergEigen.h.
|
inline |
Compute the eigenvalue decomposition of an upper Hessenberg matrix.
| mat | Matrix type can be arma::mat or arma::fmat, depending on the template parameter Scalar defined. Only the upper triangular and the lower subdiagonal parts of the matrix are used. |
Definition at line 83 of file UpperHessenbergEigen.h.
|
inline |
Retrieve the eigenvalues.
arma::cx_vec or arma::cx_fvec, depending on the template parameter Scalar defined. Definition at line 135 of file UpperHessenbergEigen.h.
|
inline |
Retrieve the eigenvectors.
arma::cx_mat or arma::cx_fmat, depending on the template parameter Scalar defined. Definition at line 149 of file UpperHessenbergEigen.h.