11 #ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H 12 #define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H 47 template<
typename _MatrixType>
161 template<
typename MatrixType>
165 eigen_assert(matA.cols()==matA.rows() && matB.rows()==matA.rows() && matB.cols()==matB.rows());
169 || (options&GenEigMask)==
ABx_lx || (options&GenEigMask)==
BAx_lx)
170 &&
"invalid option parameter");
184 MatrixType matC = matA.template selfadjointView<Lower>();
185 cholB.
matrixL().template solveInPlace<OnTheLeft>(matC);
186 cholB.
matrixU().template solveInPlace<OnTheRight>(matC);
197 MatrixType matC = matA.template selfadjointView<Lower>();
210 MatrixType matC = matA.template selfadjointView<Lower>();
226 #endif // EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H GeneralizedSelfAdjointEigenSolver(Index size)
Constructor, pre-allocates memory for dynamic-size matrices.
EIGEN_DEVICE_FUNC SelfAdjointEigenSolver & compute(const EigenBase< InputType > &matrix, int options=ComputeEigenvectors)
Computes eigendecomposition of given matrix.
Computes eigenvalues and eigenvectors of selfadjoint matrices.
Namespace containing all symbols from the Eigen library.
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Computes eigenvalues and eigenvectors of the generalized selfadjoint eigen problem.
Traits::MatrixL matrixL() const
Traits::MatrixU matrixU() const
GeneralizedSelfAdjointEigenSolver & compute(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Computes generalized eigendecomposition of given matrix pencil.
SelfAdjointEigenSolver< _MatrixType > Base
GeneralizedSelfAdjointEigenSolver(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Constructor; computes generalized eigendecomposition of given matrix pencil.
GeneralizedSelfAdjointEigenSolver()
Default constructor for fixed-size matrices.