Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo > Class Template Reference

A simplicial direct Cholesky (LDLT) factorization and solver based on Cholmod. More...

#include <CholmodSupport.h>

Inheritance diagram for Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >:
Inheritance graph
[legend]

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 _solve_impl (const MatrixBase< Rhs > &b, MatrixBase< Dest > &dest) const
 
void _solve_impl (const SparseMatrixBase< RhsDerived > &b, SparseMatrixBase< DestDerived > &dest) const
 
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< CholmodSimplicialLDLT< _MatrixType, Lower > >
void _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const
 
CholmodSimplicialLDLT< _MatrixType, Lower > & derived ()
 
const CholmodSimplicialLDLT< _MatrixType, Lower > & derived () const
 
const Solve< CholmodSimplicialLDLT< _MatrixType, Lower >, Rhs > solve (const MatrixBase< Rhs > &b) const
 
const Solve< CholmodSimplicialLDLT< _MatrixType, Lower >, Rhs > solve (const SparseMatrixBase< Rhs > &b) const
 
 SparseSolverBase ()
 
 ~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, CholmodSimplicialLDLTBase
 

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< CholmodSimplicialLDLT< _MatrixType, Lower > >
bool m_isInitialized
 

Detailed Description

template<typename _MatrixType, int _UpLo = Lower>
class Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >

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.

Template Parameters
_MatrixTypethe type of the sparse matrix A, it must be a SparseMatrix<>
_UpLothe 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.

Warning
Only double precision real and complex scalar types are supported by Cholmod.
See also
Sparse solver concept, class CholmodSupernodalLLT, class SimplicialLDLT

Definition at line 528 of file CholmodSupport.h.

Member Typedef Documentation

◆ Base

template<typename _MatrixType , int _UpLo = Lower>
typedef CholmodBase<_MatrixType, _UpLo, CholmodSimplicialLDLT> Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::Base
private

Definition at line 530 of file CholmodSupport.h.

◆ MatrixType

template<typename _MatrixType , int _UpLo = Lower>
typedef _MatrixType Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::MatrixType

Definition at line 535 of file CholmodSupport.h.

Constructor & Destructor Documentation

◆ CholmodSimplicialLDLT() [1/2]

template<typename _MatrixType , int _UpLo = Lower>
Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::CholmodSimplicialLDLT ( )
inline

Definition at line 537 of file CholmodSupport.h.

◆ CholmodSimplicialLDLT() [2/2]

template<typename _MatrixType , int _UpLo = Lower>
Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::CholmodSimplicialLDLT ( const MatrixType matrix)
inline

Definition at line 539 of file CholmodSupport.h.

◆ ~CholmodSimplicialLDLT()

template<typename _MatrixType , int _UpLo = Lower>
Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::~CholmodSimplicialLDLT ( )
inline

Definition at line 545 of file CholmodSupport.h.

Member Function Documentation

◆ init()

template<typename _MatrixType , int _UpLo = Lower>
void Eigen::CholmodSimplicialLDLT< _MatrixType, _UpLo >::init ( )
inlineprotected

Definition at line 547 of file CholmodSupport.h.

Member Data Documentation

◆ m_cholmod

template<typename _MatrixType , int _UpLo = Lower>
cholmod_common Eigen::CholmodBase< _MatrixType, _UpLo, Derived >::m_cholmod
mutableprivate

Definition at line 446 of file CholmodSupport.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:44:31