Public Types | Public Member Functions | Protected Member Functions | Private Types | 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, _UpLo, CholmodSimplicialLDLT< _MatrixType, _UpLo > >
enum  
 
typedef MatrixType CholMatrixType
 
typedef MatrixType::Index Index
 
typedef _MatrixType MatrixType
 
typedef MatrixType::RealScalar RealScalar
 
typedef MatrixType::Scalar Scalar
 

Public Member Functions

 CholmodSimplicialLDLT ()
 
 CholmodSimplicialLDLT (const MatrixType &matrix)
 
 ~CholmodSimplicialLDLT ()
 
- Public Member Functions inherited from Eigen::CholmodBase< _MatrixType, _UpLo, CholmodSimplicialLDLT< _MatrixType, _UpLo > >
void _solve (const MatrixBase< Rhs > &b, MatrixBase< Dest > &dest) const
 
void _solve (const SparseMatrix< RhsScalar, RhsOptions, RhsIndex > &b, SparseMatrix< DestScalar, DestOptions, DestIndex > &dest) const
 
void analyzePattern (const MatrixType &matrix)
 
cholmod_common & cholmod ()
 
 CholmodBase ()
 
 CholmodBase (const MatrixType &matrix)
 
Index cols () const
 
CholmodSimplicialLDLT< _MatrixType, _UpLo > & compute (const MatrixType &matrix)
 
CholmodSimplicialLDLT< _MatrixType, _UpLo > & derived ()
 
const CholmodSimplicialLDLT< _MatrixType, _UpLo > & derived () const
 
void dumpMemory (Stream &)
 
void factorize (const MatrixType &matrix)
 
ComputationInfo info () const
 Reports whether previous computation was successful. More...
 
Index rows () const
 
CholmodSimplicialLDLT< _MatrixType, _UpLo > & setShift (const RealScalar &offset)
 
const internal::solve_retval< CholmodBase, Rhs > solve (const MatrixBase< Rhs > &b) const
 
const internal::sparse_solve_retval< CholmodBase, Rhs > solve (const SparseMatrixBase< Rhs > &b) const
 
 ~CholmodBase ()
 

Protected Member Functions

void init ()
 

Private Types

typedef CholmodBase< _MatrixType, _UpLo, CholmodSimplicialLDLTBase
 

Additional Inherited Members

- Protected Attributes inherited from Eigen::CholmodBase< _MatrixType, _UpLo, CholmodSimplicialLDLT< _MatrixType, _UpLo > >
int m_analysisIsOk
 
cholmod_common m_cholmod
 
cholmod_factor * m_cholmodFactor
 
int m_factorizationIsOk
 
ComputationInfo m_info
 
bool m_isInitialized
 
RealScalar m_shiftOffset [2]
 

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. Thefore, it has little practical interest. The sparse matrix A must be selfajoint 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.

This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed.

See also
TutorialSparseDirectSolvers, class CholmodSupernodalLLT, class SimplicialLDLT

Definition at line 428 of file CholmodSupport.h.

Member Typedef Documentation

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

Definition at line 430 of file CholmodSupport.h.

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

Definition at line 435 of file CholmodSupport.h.

Constructor & Destructor Documentation

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

Definition at line 437 of file CholmodSupport.h.

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

Definition at line 439 of file CholmodSupport.h.

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

Definition at line 445 of file CholmodSupport.h.

Member Function Documentation

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

Definition at line 447 of file CholmodSupport.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:29