11#ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
12#define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H
47template<
typename _MatrixType>
161template<
typename MatrixType>
170 &&
"invalid option parameter");
185 cholB.
matrixL().template solveInPlace<OnTheLeft>(matC);
186 cholB.
matrixU().template solveInPlace<OnTheRight>(matC);
192 cholB.
matrixU().solveInPlace(Base::m_eivec);
205 cholB.
matrixU().solveInPlace(Base::m_eivec);
218 Base::m_eivec = cholB.
matrixL() * Base::m_eivec;
#define eigen_assert(x)
Definition Macros.h:1037
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: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
_MatrixType MatrixType
Definition GeneralizedSelfAdjointEigenSolver.h:53
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
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition LLT.h:68
Traits::MatrixU matrixU() const
Definition LLT.h:128
Traits::MatrixL matrixL() const
Definition LLT.h:135
Computes eigenvalues and eigenvectors of selfadjoint matrices.
Definition SelfAdjointEigenSolver.h:77
Eigen::Index Index
Definition SelfAdjointEigenSolver.h:90
@ GenEigMask
Definition Constants.h:418
@ EigVecMask
Definition Constants.h:407
@ Ax_lBx
Definition Constants.h:410
@ ComputeEigenvectors
Definition Constants.h:405
@ BAx_lx
Definition Constants.h:416
@ ABx_lx
Definition Constants.h:413
@ EigenvaluesOnly
Definition Constants.h:402
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85