A sparse direct supernodal Cholesky (LLT) factorization and solver based on the PaStiX library. More...
#include <PaStiXSupport.h>
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 > > | |
typedef internal::pastix_traits< PastixLDLT< _MatrixType, _UpLo > >::MatrixType | _MatrixType |
typedef SparseMatrix< Scalar, ColMajor > | ColSpMatrix |
typedef MatrixType::Index | Index |
typedef _MatrixType | MatrixType |
typedef MatrixType::RealScalar | RealScalar |
typedef MatrixType::Scalar | Scalar |
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 (const MatrixBase< Rhs > &b, MatrixBase< Dest > &x) const |
Index | cols () const |
PastixLDLT< _MatrixType, _UpLo > & | derived () |
const PastixLDLT< _MatrixType, _UpLo > & | derived () const |
Array< RealScalar, IPARM_SIZE, 1 > & | dparm () |
double & | dparm (int idxparam) |
ComputationInfo | info () const |
Reports whether previous computation was successful. More... | |
Array< Index, IPARM_SIZE, 1 > & | iparm () |
int & | iparm (int idxparam) |
PastixBase () | |
Index | rows () const |
const internal::solve_retval< PastixBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
const internal::sparse_solve_retval< PastixBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
~PastixBase () | |
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 Attributes inherited from Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > > | |
int | m_analysisIsOk |
int | m_comm |
Matrix< double, DPARM_SIZE, 1 > | m_dparm |
int | m_factorizationIsOk |
ComputationInfo | m_info |
int | m_initisOk |
Matrix< Index, Dynamic, 1 > | m_invp |
Matrix< int, IPARM_SIZE, 1 > | m_iparm |
bool | m_isInitialized |
pastix_data_t * | m_pastixdata |
Matrix< Index, Dynamic, 1 > | m_perm |
int | m_size |
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
MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
UpLo | The part of the matrix to use : Lower or Upper. The default is Lower as required by PaStiX |
Definition at line 25 of file PaStiXSupport.h.
typedef PastixBase<PastixLDLT<MatrixType, _UpLo> > Eigen::PastixLDLT< _MatrixType, _UpLo >::Base |
Definition at line 626 of file PaStiXSupport.h.
typedef Base::ColSpMatrix Eigen::PastixLDLT< _MatrixType, _UpLo >::ColSpMatrix |
Definition at line 627 of file PaStiXSupport.h.
typedef _MatrixType Eigen::PastixLDLT< _MatrixType, _UpLo >::MatrixType |
Definition at line 625 of file PaStiXSupport.h.
anonymous enum |
Enumerator | |
---|---|
UpLo |
Definition at line 630 of file PaStiXSupport.h.
|
inline |
Definition at line 631 of file PaStiXSupport.h.
|
inline |
Definition at line 636 of file PaStiXSupport.h.
|
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
Definition at line 656 of file PaStiXSupport.h.
|
inline |
Compute the L and D factors of the LDL^T factorization of matrix
Definition at line 645 of file PaStiXSupport.h.
|
inline |
Compute the LDL^T supernodal numerical factorization of matrix
Definition at line 665 of file PaStiXSupport.h.
|
inlineprotected |
Definition at line 681 of file PaStiXSupport.h.
|
inlineprotected |
Definition at line 675 of file PaStiXSupport.h.