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.
Traits::MatrixU matrixU() const
Computes eigenvalues and eigenvectors of selfadjoint matrices.
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Computes eigenvalues and eigenvectors of the generalized selfadjoint eigen problem.
GeneralizedSelfAdjointEigenSolver & compute(const MatrixType &matA, const MatrixType &matB, int options=ComputeEigenvectors|Ax_lBx)
Computes generalized eigendecomposition of given matrix pencil.
SelfAdjointEigenSolver< _MatrixType > Base
Traits::MatrixL matrixL() const
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.