11#ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
12#define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
14#include "./Tridiagonalization.h"
47template<
typename _MatrixType>
53 typedef _MatrixType MatrixType;
161template<
typename MatrixType>
166 eigen_assert((options&~(EigVecMask|GenEigMask))==0
167 && (options&EigVecMask)!=EigVecMask
168 && ((options&GenEigMask)==0 || (options&GenEigMask)==
Ax_lBx
169 || (options&GenEigMask)==
ABx_lx || (options&GenEigMask)==
BAx_lx)
170 &&
"invalid option parameter");
177 int type = (options&GenEigMask);
192 cholB.matrixU().solveInPlace(Base::m_eivec);
205 cholB.matrixU().solveInPlace(Base::m_eivec);
218 Base::m_eivec =
cholB.matrixL() * Base::m_eivec;
\eigenvalues_module
Definition GeneralizedSelfAdjointEigenSolver.h:49
GeneralizedSelfAdjointEigenSolver()
Default constructor for fixed-size matrices.
Definition GeneralizedSelfAdjointEigenSolver.h:62
GeneralizedSelfAdjointEigenSolver & compute(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Computes generalized eigendecomposition of given matrix pencil.
Definition GeneralizedSelfAdjointEigenSolver.h:163
GeneralizedSelfAdjointEigenSolver(Index size)
Constructor, pre-allocates memory for dynamic-size matrices.
Definition GeneralizedSelfAdjointEigenSolver.h:76
GeneralizedSelfAdjointEigenSolver(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Constructor; computes generalized eigendecomposition of given matrix pencil.
Definition GeneralizedSelfAdjointEigenSolver.h:106
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
\eigenvalues_module
Definition SelfAdjointEigenSolver.h:77
Eigen::Index Index
Definition SelfAdjointEigenSolver.h:90
@ Ax_lBx
Used in GeneralizedSelfAdjointEigenSolver to indicate that it should solve the generalized eigenprobl...
Definition Constants.h:410
@ ComputeEigenvectors
Used in SelfAdjointEigenSolver and GeneralizedSelfAdjointEigenSolver to specify that both the eigenva...
Definition Constants.h:405
@ BAx_lx
Used in GeneralizedSelfAdjointEigenSolver to indicate that it should solve the generalized eigenprobl...
Definition Constants.h:416
@ ABx_lx
Used in GeneralizedSelfAdjointEigenSolver to indicate that it should solve the generalized eigenprobl...
Definition Constants.h:413
@ EigenvaluesOnly
Used in SelfAdjointEigenSolver and GeneralizedSelfAdjointEigenSolver to specify that only the eigenva...
Definition Constants.h:402
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16