#include <PaStiXSupport.h>
Public Types | |
typedef internal::pastix_traits < Derived >::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 | |
template<typename Rhs , typename Dest > | |
bool | _solve (const MatrixBase< Rhs > &b, MatrixBase< Dest > &x) const |
template<typename Rhs , typename DestScalar , int DestOptions, typename DestIndex > | |
void | _solve_sparse (const Rhs &b, SparseMatrix< DestScalar, DestOptions, DestIndex > &dest) const |
Index | cols () const |
Derived & | derived () |
const Derived & | derived () const |
Array< RealScalar, IPARM_SIZE, 1 > & | dparm () |
double & | dparm (int idxparam) |
ComputationInfo | info () const |
Reports whether previous computation was successful. | |
Array< Index, IPARM_SIZE, 1 > & | iparm () |
int & | iparm (int idxparam) |
PastixBase () | |
Index | rows () const |
template<typename Rhs > | |
const internal::solve_retval < PastixBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const internal::sparse_solve_retval < PastixBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
~PastixBase () | |
Protected Member Functions | |
void | analyzePattern (ColSpMatrix &mat) |
void | clean () |
void | compute (ColSpMatrix &mat) |
void | factorize (ColSpMatrix &mat) |
void | init () |
Protected Attributes | |
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 |
Definition at line 120 of file PaStiXSupport.h.
typedef internal::pastix_traits<Derived>::MatrixType Eigen::PastixBase< Derived >::_MatrixType |
Definition at line 123 of file PaStiXSupport.h.
typedef SparseMatrix<Scalar, ColMajor> Eigen::PastixBase< Derived >::ColSpMatrix |
Reimplemented in Eigen::PastixLDLT< _MatrixType, _UpLo >, Eigen::PastixLLT< _MatrixType, _UpLo >, and Eigen::PastixLU< _MatrixType, IsStrSym >.
Definition at line 129 of file PaStiXSupport.h.
typedef MatrixType::Index Eigen::PastixBase< Derived >::Index |
Reimplemented in Eigen::PastixLU< _MatrixType, IsStrSym >.
Definition at line 127 of file PaStiXSupport.h.
typedef _MatrixType Eigen::PastixBase< Derived >::MatrixType |
Reimplemented in Eigen::PastixLDLT< _MatrixType, _UpLo >, Eigen::PastixLLT< _MatrixType, _UpLo >, and Eigen::PastixLU< _MatrixType, IsStrSym >.
Definition at line 124 of file PaStiXSupport.h.
typedef MatrixType::RealScalar Eigen::PastixBase< Derived >::RealScalar |
Definition at line 126 of file PaStiXSupport.h.
typedef MatrixType::Scalar Eigen::PastixBase< Derived >::Scalar |
Definition at line 125 of file PaStiXSupport.h.
typedef Matrix<Scalar,Dynamic,1> Eigen::PastixBase< Derived >::Vector |
Definition at line 128 of file PaStiXSupport.h.
Eigen::PastixBase< Derived >::PastixBase | ( | ) | [inline] |
Definition at line 133 of file PaStiXSupport.h.
Eigen::PastixBase< Derived >::~PastixBase | ( | ) | [inline] |
Definition at line 138 of file PaStiXSupport.h.
bool Eigen::PastixBase< Base >::_solve | ( | const MatrixBase< Rhs > & | b, |
MatrixBase< Dest > & | x | ||
) | const |
Definition at line 409 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::_solve_sparse | ( | const Rhs & | b, |
SparseMatrix< DestScalar, DestOptions, DestIndex > & | dest | ||
) | const [inline] |
Definition at line 162 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::analyzePattern | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 349 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::clean | ( | ) | [inline, protected] |
Definition at line 270 of file PaStiXSupport.h.
Index Eigen::PastixBase< Derived >::cols | ( | void | ) | const [inline] |
Definition at line 227 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::compute | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 336 of file PaStiXSupport.h.
Derived& Eigen::PastixBase< Derived >::derived | ( | ) | [inline] |
Definition at line 181 of file PaStiXSupport.h.
const Derived& Eigen::PastixBase< Derived >::derived | ( | ) | const [inline] |
Definition at line 185 of file PaStiXSupport.h.
Array<RealScalar,IPARM_SIZE,1>& Eigen::PastixBase< Derived >::dparm | ( | ) | [inline] |
Returns a reference to the double vector DPARM of PaStiX parameters The statistics related to the different phases of factorization and solve are saved here as well
Definition at line 213 of file PaStiXSupport.h.
double& Eigen::PastixBase< Derived >::dparm | ( | int | idxparam | ) | [inline] |
Return a reference to a particular index parameter of the DPARM vector
Definition at line 222 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::factorize | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 380 of file PaStiXSupport.h.
ComputationInfo Eigen::PastixBase< Derived >::info | ( | ) | const [inline] |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the PaStiX reports a problem InvalidInput
if the input matrix is invalidDefinition at line 238 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::init | ( | ) | [protected] |
Initialize the PaStiX data structure. A first call to this function fills iparm and dparm with the default PaStiX parameters
Reimplemented in Eigen::PastixLDLT< _MatrixType, _UpLo >, Eigen::PastixLLT< _MatrixType, _UpLo >, and Eigen::PastixLU< _MatrixType, IsStrSym >.
Definition at line 300 of file PaStiXSupport.h.
Array<Index,IPARM_SIZE,1>& Eigen::PastixBase< Derived >::iparm | ( | ) | [inline] |
Returns a reference to the integer vector IPARM of PaStiX parameters to modify the default parameters. The statistics related to the different phases of factorization and solve are saved here as well
Definition at line 195 of file PaStiXSupport.h.
int& Eigen::PastixBase< Derived >::iparm | ( | int | idxparam | ) | [inline] |
Return a reference to a particular index parameter of the IPARM vector
Definition at line 204 of file PaStiXSupport.h.
Index Eigen::PastixBase< Derived >::rows | ( | void | ) | const [inline] |
Definition at line 228 of file PaStiXSupport.h.
const internal::solve_retval<PastixBase, Rhs> Eigen::PastixBase< Derived >::solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline] |
Definition at line 149 of file PaStiXSupport.h.
const internal::sparse_solve_retval<PastixBase, Rhs> Eigen::PastixBase< Derived >::solve | ( | const SparseMatrixBase< Rhs > & | b | ) | const [inline] |
Definition at line 250 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_analysisIsOk [protected] |
Definition at line 282 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_comm [mutable, protected] |
Definition at line 287 of file PaStiXSupport.h.
Matrix<double,DPARM_SIZE,1> Eigen::PastixBase< Derived >::m_dparm [mutable, protected] |
Definition at line 289 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_factorizationIsOk [protected] |
Definition at line 283 of file PaStiXSupport.h.
ComputationInfo Eigen::PastixBase< Derived >::m_info [mutable, protected] |
Definition at line 285 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_initisOk [protected] |
Definition at line 281 of file PaStiXSupport.h.
Matrix<Index,Dynamic,1> Eigen::PastixBase< Derived >::m_invp [mutable, protected] |
Definition at line 291 of file PaStiXSupport.h.
Matrix<int,IPARM_SIZE,1> Eigen::PastixBase< Derived >::m_iparm [mutable, protected] |
Definition at line 288 of file PaStiXSupport.h.
bool Eigen::PastixBase< Derived >::m_isInitialized [protected] |
Definition at line 284 of file PaStiXSupport.h.
pastix_data_t* Eigen::PastixBase< Derived >::m_pastixdata [mutable, protected] |
Definition at line 286 of file PaStiXSupport.h.
Matrix<Index,Dynamic,1> Eigen::PastixBase< Derived >::m_perm [mutable, protected] |
Definition at line 290 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_size [mutable, protected] |
Definition at line 292 of file PaStiXSupport.h.