Abstract base class for operator based generalized eigenvalue solvers. More...
#include <GeneralizedEigenSolver.h>
Abstract base class for operator based generalized eigenvalue solvers.
Base class for algorithms that solve problems of the form
\[ Av = \lambda B v \]
@seealso LOBPCG @seealso StochasticEigenSolver
Definition at line 22 of file GeneralizedEigenSolver.h.
Public Member Functions | |
virtual | ~GeneralizedEigenSolver ()=default |
Eigen::VectorXd const & | eigenvalues () const |
Eigen::MatrixXd const & | eigenvectors () const |
|
virtualdefault |
|
inline |
Return a reference to the computed vector of eigenvalues. The vector will only be valid after calling compute.
Definition at line 40 of file GeneralizedEigenSolver.h.
References eigVals.
Referenced by muq::SamplingAlgorithms::DILIKernel::ComputeLocalLIS(), main(), and muq::SamplingAlgorithms::DILIKernel::UpdateLIS().
|
inline |
Return a matrix whose columns contain the computed eigenvectors. The matrix will only be valid after calling compute.
Definition at line 45 of file GeneralizedEigenSolver.h.
References eigVecs.
Referenced by muq::SamplingAlgorithms::DILIKernel::ComputeLocalLIS(), main(), and muq::SamplingAlgorithms::DILIKernel::UpdateLIS().
|
staticprotected |
Definition at line 28 of file GeneralizedEigenSolver.cpp.
References GetSortSwaps().
|
staticprotected |
Returns a vector of swaps needed to sort the provided matrix using a selection sort.
Definition at line 34 of file GeneralizedEigenSolver.cpp.
Referenced by muq::Modeling::StochasticEigenSolver::compute(), and GetSortSwaps().
|
staticprotected |
Sorts the columns of the matrix using precomputed swaps from the GetSortSwaps function.
Definition at line 21 of file GeneralizedEigenSolver.cpp.
Referenced by muq::Modeling::StochasticEigenSolver::compute().
|
staticprotected |
Definition at line 7 of file GeneralizedEigenSolver.cpp.
Referenced by muq::Modeling::StochasticEigenSolver::compute().
|
staticprotected |
Definition at line 14 of file GeneralizedEigenSolver.cpp.
|
protected |
Definition at line 71 of file GeneralizedEigenSolver.h.
Referenced by muq::Modeling::StochasticEigenSolver::compute(), and muq::Modeling::LOBPCG::compute().
|
protected |
Definition at line 71 of file GeneralizedEigenSolver.h.
Referenced by muq::Modeling::StochasticEigenSolver::CholeskyQR(), muq::Modeling::StochasticEigenSolver::compute(), and muq::Modeling::LOBPCG::compute().
|
protected |
Definition at line 68 of file GeneralizedEigenSolver.h.
Referenced by muq::Modeling::StochasticEigenSolver::compute(), and eigenvalues().
|
protected |
Definition at line 69 of file GeneralizedEigenSolver.h.
Referenced by muq::Modeling::StochasticEigenSolver::compute(), and eigenvectors().
|
protected |
Definition at line 71 of file GeneralizedEigenSolver.h.
Referenced by muq::Modeling::LOBPCG::compute().