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. | |
Public Attributes | |
long | n |
vnl_matrix< double > | V |
Public eigenvectors. | |
vnl_diag_matrix< double > | D |
Public eigenvalues. |
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 26 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 24 of file vnl_generalized_eigensystem.cxx.
Public eigenvalues.
After construction, this contains the diagonal matrix of eigenvalues, stored as a vector.
Definition at line 54 of file vnl_generalized_eigensystem.h.
Definition at line 30 of file vnl_generalized_eigensystem.h.
Public eigenvectors.
After construction, this contains the matrix of eigenvectors.
Definition at line 50 of file vnl_generalized_eigensystem.h.