11 #ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H 12 #define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H 47 template<
typename _MatrixType>
162 template<
typename MatrixType>
166 eigen_assert(matA.cols()==matA.rows() && matB.rows()==matA.rows() && matB.cols()==matB.rows());
170 || (options&GenEigMask)==
ABx_lx || (options&GenEigMask)==
BAx_lx)
171 &&
"invalid option parameter");
185 MatrixType matC = matA.template selfadjointView<Lower>();
186 cholB.
matrixL().template solveInPlace<OnTheLeft>(matC);
187 cholB.
matrixU().template solveInPlace<OnTheRight>(matC);
198 MatrixType matC = matA.template selfadjointView<Lower>();
211 MatrixType matC = matA.template selfadjointView<Lower>();
227 #endif // EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H GeneralizedSelfAdjointEigenSolver(Index size)
Constructor, pre-allocates memory for dynamic-size matrices.
Traits::MatrixU matrixU() const
Computes eigenvalues and eigenvectors of selfadjoint matrices.
iterative scaling algorithm to equilibrate rows and column norms in matrices
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Computes eigenvalues and eigenvectors of the generalized selfadjoint eigen problem.
SelfAdjointEigenSolver & compute(const MatrixType &matrix, int options=ComputeEigenvectors)
Computes eigendecomposition of given matrix.
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.