11 #ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
12 #define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
50 template <
typename MatrixType_>
158 template <
typename MatrixType>
165 "invalid option parameter");
178 cholB.
matrixL().template solveInPlace<OnTheLeft>(matC);
179 cholB.
matrixU().template solveInPlace<OnTheRight>(matC);
184 if (computeEigVecs) cholB.
matrixU().solveInPlace(Base::m_eivec);
194 if (computeEigVecs) cholB.
matrixU().solveInPlace(Base::m_eivec);
204 if (computeEigVecs) Base::m_eivec = cholB.
matrixL() * Base::m_eivec;
#define eigen_assert(x)
Definition: Macros.h:910
int cols
Definition: Tutorial_commainit_02.cpp:1
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
MatrixXf MatrixType
Definition: benchmark-blocking-sizes.cpp:52
Computes eigenvalues and eigenvectors of the generalized selfadjoint eigen problem.
Definition: GeneralizedSelfAdjointEigenSolver.h:51
GeneralizedSelfAdjointEigenSolver()
Default constructor for fixed-size matrices.
Definition: GeneralizedSelfAdjointEigenSolver.h:64
GeneralizedSelfAdjointEigenSolver(Index size)
Constructor, pre-allocates memory for dynamic-size matrices.
Definition: GeneralizedSelfAdjointEigenSolver.h:78
SelfAdjointEigenSolver< MatrixType_ > Base
Definition: GeneralizedSelfAdjointEigenSolver.h:52
GeneralizedSelfAdjointEigenSolver & compute(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Computes generalized eigendecomposition of given matrix pencil.
Definition: GeneralizedSelfAdjointEigenSolver.h:159
MatrixType_ MatrixType
Definition: GeneralizedSelfAdjointEigenSolver.h:55
GeneralizedSelfAdjointEigenSolver(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Constructor; computes generalized eigendecomposition of given matrix pencil.
Definition: GeneralizedSelfAdjointEigenSolver.h:106
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition: LLT.h:70
Traits::MatrixU matrixU() const
Definition: LLT.h:117
Traits::MatrixL matrixL() const
Definition: LLT.h:123
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition: PlainObjectBase.h:192
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition: PlainObjectBase.h:191
Computes eigenvalues and eigenvectors of selfadjoint matrices.
Definition: SelfAdjointEigenSolver.h:82
Eigen::Index Index
Definition: SelfAdjointEigenSolver.h:94
EIGEN_DONT_INLINE void compute(Solver &solver, const MatrixType &A)
Definition: dense_solvers.cpp:23
@ GenEigMask
Definition: Constants.h:414
@ EigVecMask
Definition: Constants.h:403
@ Ax_lBx
Definition: Constants.h:406
@ ComputeEigenvectors
Definition: Constants.h:401
@ BAx_lx
Definition: Constants.h:412
@ ABx_lx
Definition: Constants.h:409
@ EigenvaluesOnly
Definition: Constants.h:398
Eigen::Matrix< Scalar, Dynamic, Dynamic, ColMajor > matA(size, size)
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
type
Definition: compute_granudrum_aor.py:141