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

A sparse direct supernodal Cholesky (LLT) factorization and solver based on the PaStiX library. More...

#include <PaStiXSupport.h>

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

Public Types

enum  { UpLo = _UpLo }
 
typedef PastixBase< PastixLDLT< MatrixType, _UpLo > > Base
 
typedef Base::ColSpMatrix ColSpMatrix
 
typedef _MatrixType MatrixType
 
- Public Types inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >
enum  
 
typedef internal::pastix_traits< PastixLDLT< _MatrixType, _UpLo > >::MatrixType _MatrixType
 
typedef SparseMatrix< Scalar, ColMajor > ColSpMatrix
 
typedef _MatrixType MatrixType
 
typedef MatrixType::RealScalar RealScalar
 
typedef MatrixType::Scalar Scalar
 
typedef MatrixType::StorageIndex StorageIndex
 
typedef Matrix< Scalar, Dynamic, 1 > Vector
 

Public Member Functions

void analyzePattern (const MatrixType &matrix)
 
void compute (const MatrixType &matrix)
 
void factorize (const MatrixType &matrix)
 
 PastixLDLT ()
 
 PastixLDLT (const MatrixType &matrix)
 
- Public Member Functions inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >
bool _solve_impl (const MatrixBase< Rhs > &b, MatrixBase< Dest > &x) const
 
Index cols () const
 
Array< double, DPARM_SIZE, 1 > & dparm ()
 
double & dparm (int idxparam)
 
ComputationInfo info () const
 Reports whether previous computation was successful. More...
 
Array< StorageIndex, IPARM_SIZE, 1 > & iparm ()
 
int & iparm (int idxparam)
 
 PastixBase ()
 
Index rows () const
 
 ~PastixBase ()
 
- Public Member Functions inherited from Eigen::SparseSolverBase< PastixLDLT< _MatrixType, _UpLo > >
void _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const
 
PastixLDLT< _MatrixType, _UpLo > & derived ()
 
const PastixLDLT< _MatrixType, _UpLo > & derived () const
 
const Solve< PastixLDLT< _MatrixType, _UpLo >, Rhs > solve (const MatrixBase< Rhs > &b) const
 
const Solve< PastixLDLT< _MatrixType, _UpLo >, Rhs > solve (const SparseMatrixBase< Rhs > &b) const
 
 SparseSolverBase ()
 
 ~SparseSolverBase ()
 

Protected Member Functions

void grabMatrix (const MatrixType &matrix, ColSpMatrix &out)
 
void init ()
 
- Protected Member Functions inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >
void analyzePattern (ColSpMatrix &mat)
 
void clean ()
 
void compute (ColSpMatrix &mat)
 
void factorize (ColSpMatrix &mat)
 
void init ()
 

Additional Inherited Members

- Protected Types inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >
typedef SparseSolverBase< PastixLDLT< _MatrixType, _UpLo > > Base
 
- Protected Attributes inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >
int m_analysisIsOk
 
int m_comm
 
Array< double, DPARM_SIZE, 1 > m_dparm
 
int m_factorizationIsOk
 
ComputationInfo m_info
 
int m_initisOk
 
Matrix< StorageIndex, Dynamic, 1 > m_invp
 
Array< int, IPARM_SIZE, 1 > m_iparm
 
pastix_data_t * m_pastixdata
 
Matrix< StorageIndex, Dynamic, 1 > m_perm
 
int m_size
 
- Protected Attributes inherited from Eigen::SparseSolverBase< PastixLDLT< _MatrixType, _UpLo > >
bool m_isInitialized
 

Detailed Description

template<typename _MatrixType, int _UpLo>
class Eigen::PastixLDLT< _MatrixType, _UpLo >

A sparse direct supernodal Cholesky (LLT) factorization and solver based on the PaStiX library.

This class is used to solve the linear systems A.X = B via a LDL^T supernodal Cholesky factorization available in the PaStiX library. The matrix A should be symmetric and positive definite WARNING Selfadjoint complex matrices are not supported in the current version of PaStiX 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 part of the matrix to use : Lower or Upper. The default is Lower as required by PaStiX
See also
TutorialSparseSolverConcept, class SimplicialLDLT

Definition at line 33 of file PaStiXSupport.h.

Member Typedef Documentation

template<typename _MatrixType , int _UpLo>
typedef PastixBase<PastixLDLT<MatrixType, _UpLo> > Eigen::PastixLDLT< _MatrixType, _UpLo >::Base

Definition at line 612 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
typedef Base::ColSpMatrix Eigen::PastixLDLT< _MatrixType, _UpLo >::ColSpMatrix

Definition at line 613 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
typedef _MatrixType Eigen::PastixLDLT< _MatrixType, _UpLo >::MatrixType

Definition at line 611 of file PaStiXSupport.h.

Member Enumeration Documentation

template<typename _MatrixType , int _UpLo>
anonymous enum
Enumerator
UpLo 

Definition at line 616 of file PaStiXSupport.h.

Constructor & Destructor Documentation

template<typename _MatrixType , int _UpLo>
Eigen::PastixLDLT< _MatrixType, _UpLo >::PastixLDLT ( )
inline

Definition at line 617 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
Eigen::PastixLDLT< _MatrixType, _UpLo >::PastixLDLT ( const MatrixType matrix)
inlineexplicit

Definition at line 622 of file PaStiXSupport.h.

Member Function Documentation

template<typename _MatrixType , int _UpLo>
void Eigen::PastixLDLT< _MatrixType, _UpLo >::analyzePattern ( const MatrixType matrix)
inline

Compute the LDL^T symbolic factorization of matrix using its sparsity pattern The result of this operation can be used with successive matrices having the same pattern as matrix

See also
factorize()

Definition at line 642 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
void Eigen::PastixLDLT< _MatrixType, _UpLo >::compute ( const MatrixType matrix)
inline

Compute the L and D factors of the LDL^T factorization of matrix

See also
analyzePattern() factorize()

Definition at line 631 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
void Eigen::PastixLDLT< _MatrixType, _UpLo >::factorize ( const MatrixType matrix)
inline

Compute the LDL^T supernodal numerical factorization of matrix

Definition at line 651 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
void Eigen::PastixLDLT< _MatrixType, _UpLo >::grabMatrix ( const MatrixType matrix,
ColSpMatrix out 
)
inlineprotected

Definition at line 667 of file PaStiXSupport.h.

template<typename _MatrixType , int _UpLo>
void Eigen::PastixLDLT< _MatrixType, _UpLo >::init ( )
inlineprotected

Definition at line 661 of file PaStiXSupport.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:12