A supernodal Cholesky (LLT) factorization and solver based on Cholmod.
This class allows to solve for A.X = B sparse linear problems via a supernodal LL^T Cholesky factorization using the Cholmod library. This supernodal variant performs best on dense enough problems, e.g., 3D FEM, or very high order 2D FEM. The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices X and B can be either dense or sparse.
_MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
_UpLo | the triangular part that will be used for the computations. It can be Lower or Upper. Default is Lower. |
This class follows the sparse solver concept .
This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed.
Public Member Functions inherited from Eigen::CholmodBase< _MatrixType, Lower, CholmodSupernodalLLT< _MatrixType, Lower > > | |
void | analyzePattern (const MatrixType &matrix) |
cholmod_common & | cholmod () |
CholmodSupernodalLLT< _MatrixType, Lower > & | compute (const MatrixType &matrix) |
Scalar | determinant () const |
void | factorize (const MatrixType &matrix) |
ComputationInfo | info () const |
Reports whether previous computation was successful. More... |
|
Scalar | logDeterminant () const |
CholmodSupernodalLLT< _MatrixType, Lower > & | setShift (const RealScalar &offset) |
Public Member Functions inherited from Eigen::SparseSolverBase< Derived > | |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const MatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
SparseSolverBase () | |
© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/classEigen_1_1CholmodSupernodalLLT.html