A general Cholesky factorization and solver based on Cholmod. More...
#include <CholmodSupport.h>
Public Types | |
typedef _MatrixType | MatrixType |
![]() | |
enum | |
enum | |
typedef MatrixType | CholMatrixType |
typedef _MatrixType | MatrixType |
typedef MatrixType::RealScalar | RealScalar |
typedef MatrixType::Scalar | Scalar |
typedef MatrixType::StorageIndex | StorageIndex |
Protected Member Functions | |
void | init () |
![]() | |
CholmodDecomposition< _MatrixType, Lower > & | derived () |
const CholmodDecomposition< _MatrixType, Lower > & | derived () const |
Private Types | |
typedef CholmodBase< _MatrixType, _UpLo, CholmodDecomposition > | Base |
Private Attributes | |
cholmod_common | m_cholmod |
Additional Inherited Members | |
![]() | |
typedef SparseSolverBase< CholmodDecomposition< _MatrixType, Lower > > | Base |
![]() | |
int | m_analysisIsOk |
cholmod_common | m_cholmod |
cholmod_factor * | m_cholmodFactor |
int | m_factorizationIsOk |
ComputationInfo | m_info |
bool | m_isInitialized |
double | m_shiftOffset [2] |
![]() | |
bool | m_isInitialized |
A general Cholesky factorization and solver based on Cholmod.
This class allows to solve for A.X = B sparse linear problems via a LL^T or LDL^T Cholesky factorization using the Cholmod library. The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices X and B can be either dense or sparse.
This variant permits to change the underlying Cholesky method at runtime. On the other hand, it does not provide access to the result of the factorization. The default is to let Cholmod automatically choose between a simplicial and supernodal factorization.
_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. |
\implsparsesolverconcept
This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed.
Definition at line 628 of file CholmodSupport.h.
|
private |
Definition at line 630 of file CholmodSupport.h.
typedef _MatrixType Eigen::CholmodDecomposition< _MatrixType, _UpLo >::MatrixType |
Definition at line 635 of file CholmodSupport.h.
|
inline |
Definition at line 637 of file CholmodSupport.h.
|
inline |
Definition at line 639 of file CholmodSupport.h.
|
inline |
Definition at line 645 of file CholmodSupport.h.
|
inlineprotected |
Definition at line 673 of file CholmodSupport.h.
|
inline |
Definition at line 647 of file CholmodSupport.h.
|
mutableprivate |
Definition at line 446 of file CholmodSupport.h.