A simplicial direct Cholesky (LDLT) factorization and solver based on Cholmod. More...
Public Types | |
typedef MatrixType_ | MatrixType |
Public Types inherited from Eigen::CholmodBase< MatrixType_, Lower, CholmodSimplicialLDLT< MatrixType_, Lower > > | |
enum | |
enum | |
typedef MatrixType | CholMatrixType |
typedef MatrixType_ | MatrixType |
typedef MatrixType::RealScalar | RealScalar |
typedef MatrixType::Scalar | Scalar |
typedef MatrixType::StorageIndex | StorageIndex |
Public Member Functions | |
CholmodSimplicialLDLT () | |
CholmodSimplicialLDLT (const MatrixType &matrix) | |
~CholmodSimplicialLDLT () | |
Public Member Functions inherited from Eigen::CholmodBase< MatrixType_, Lower, CholmodSimplicialLDLT< MatrixType_, Lower > > | |
void | analyzePattern (const MatrixType &matrix) |
cholmod_common & | cholmod () |
CholmodBase () | |
CholmodBase (const MatrixType &matrix) | |
StorageIndex | cols () const |
CholmodSimplicialLDLT< MatrixType_, Lower > & | compute (const MatrixType &matrix) |
Scalar | determinant () const |
void | dumpMemory (Stream &) |
void | factorize (const MatrixType &matrix) |
ComputationInfo | info () const |
Reports whether previous computation was successful. More... | |
Scalar | logDeterminant () const |
StorageIndex | rows () const |
CholmodSimplicialLDLT< MatrixType_, Lower > & | setShift (const RealScalar &offset) |
~CholmodBase () | |
Public Member Functions inherited from Eigen::SparseSolverBase< Derived > | |
Derived & | derived () |
const Derived & | derived () const |
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 () | |
SparseSolverBase (SparseSolverBase &&other) | |
~SparseSolverBase () | |
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from Eigen::CholmodBase< MatrixType_, Lower, CholmodSimplicialLDLT< MatrixType_, Lower > > | |
CholmodSimplicialLDLT< MatrixType_, Lower > & | derived () |
const CholmodSimplicialLDLT< MatrixType_, Lower > & | derived () const |
Private Types | |
typedef CholmodBase< MatrixType_, UpLo_, CholmodSimplicialLDLT > | Base |
Private Attributes | |
cholmod_common | m_cholmod |
Additional Inherited Members | |
Protected Types inherited from Eigen::CholmodBase< MatrixType_, Lower, CholmodSimplicialLDLT< MatrixType_, Lower > > | |
typedef SparseSolverBase< CholmodSimplicialLDLT< MatrixType_, Lower > > | Base |
Protected Attributes inherited from Eigen::CholmodBase< MatrixType_, Lower, CholmodSimplicialLDLT< MatrixType_, Lower > > | |
int | m_analysisIsOk |
cholmod_common | m_cholmod |
cholmod_factor * | m_cholmodFactor |
int | m_factorizationIsOk |
ComputationInfo | m_info |
bool | m_isInitialized |
double | m_shiftOffset [2] |
Protected Attributes inherited from Eigen::SparseSolverBase< Derived > | |
bool | m_isInitialized |
A simplicial direct Cholesky (LDLT) factorization and solver based on Cholmod.
This class allows to solve for A.X = B sparse linear problems via a simplicial LDL^T Cholesky factorization using the Cholmod library. This simplicial variant is equivalent to Eigen's built-in SimplicialLDLT class. Therefore, it has little practical interest. 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.
Definition at line 530 of file CholmodSupport.h.
|
private |
Definition at line 532 of file CholmodSupport.h.
typedef MatrixType_ Eigen::CholmodSimplicialLDLT< MatrixType_, UpLo_ >::MatrixType |
Definition at line 537 of file CholmodSupport.h.
|
inline |
Definition at line 539 of file CholmodSupport.h.
|
inline |
Definition at line 541 of file CholmodSupport.h.
|
inline |
Definition at line 547 of file CholmodSupport.h.
|
inlineprotected |
Definition at line 549 of file CholmodSupport.h.
|
mutableprivate |
Definition at line 448 of file CholmodSupport.h.