Solves the generalized eigenproblem Ax=Bx. More...
#include <vnl_generalized_eigensystem.h>
Public Member Functions | |
| vnl_generalized_eigensystem (const vnl_matrix< double > &A, const vnl_matrix< double > &B) | |
| Solves the generalized eigenproblem Ax=Bx. More... | |
Public Attributes | |
| long | n |
| vnl_matrix< double > | V |
| Public eigenvectors. More... | |
| vnl_diag_matrix< double > | D |
| Public eigenvalues. More... | |
Solves the generalized eigenproblem Ax=Bx.
Solves the generalized eigenproblem of
, with
symmetric and
positive definite.
See Golub and van Loan, Section 8.7.
Definition at line 24 of file vnl_generalized_eigensystem.h.
| vnl_generalized_eigensystem::vnl_generalized_eigensystem | ( | const vnl_matrix< double > & | A, |
| const vnl_matrix< double > & | B | ||
| ) |
Solves the generalized eigenproblem Ax=Bx.
Solve real generalized eigensystem
for
and
, where
symmetric,
positive definite. Initializes storage for the matrix
and the vnl_diag_matrix
. The eigenvalues are sorted into increasing order (of value, not absolute value).
Uses vnl_cholesky decomposition
, to convert to
and then uses the symmetric eigensystem code. It will print a verbose warning if
is not positive definite.
Definition at line 17 of file vnl_generalized_eigensystem.cxx.
| vnl_diag_matrix<double> vnl_generalized_eigensystem::D |
Public eigenvalues.
After construction, this contains the diagonal matrix of eigenvalues, stored as a vector.
Definition at line 52 of file vnl_generalized_eigensystem.h.
| long vnl_generalized_eigensystem::n |
Definition at line 28 of file vnl_generalized_eigensystem.h.
| vnl_matrix<double> vnl_generalized_eigensystem::V |
Public eigenvectors.
After construction, this contains the matrix of eigenvectors.
Definition at line 48 of file vnl_generalized_eigensystem.h.
1.8.15