#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 |
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 388 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::analyzePattern | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 328 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::clean | ( | ) | [inline, protected] |
Definition at line 249 of file PaStiXSupport.h.
Index Eigen::PastixBase< Derived >::cols | ( | void | ) | const [inline] |
Definition at line 206 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::compute | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 315 of file PaStiXSupport.h.
Derived& Eigen::PastixBase< Derived >::derived | ( | ) | [inline] |
Definition at line 160 of file PaStiXSupport.h.
const Derived& Eigen::PastixBase< Derived >::derived | ( | ) | const [inline] |
Definition at line 164 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 192 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 201 of file PaStiXSupport.h.
void Eigen::PastixBase< Derived >::factorize | ( | ColSpMatrix & | mat | ) | [protected] |
Definition at line 359 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 217 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 279 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 174 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 183 of file PaStiXSupport.h.
Index Eigen::PastixBase< Derived >::rows | ( | void | ) | const [inline] |
Definition at line 207 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 229 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_analysisIsOk [protected] |
Definition at line 261 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_comm [mutable, protected] |
Definition at line 266 of file PaStiXSupport.h.
Matrix<double,DPARM_SIZE,1> Eigen::PastixBase< Derived >::m_dparm [mutable, protected] |
Definition at line 268 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_factorizationIsOk [protected] |
Definition at line 262 of file PaStiXSupport.h.
ComputationInfo Eigen::PastixBase< Derived >::m_info [mutable, protected] |
Definition at line 264 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_initisOk [protected] |
Definition at line 260 of file PaStiXSupport.h.
Matrix<Index,Dynamic,1> Eigen::PastixBase< Derived >::m_invp [mutable, protected] |
Definition at line 270 of file PaStiXSupport.h.
Matrix<int,IPARM_SIZE,1> Eigen::PastixBase< Derived >::m_iparm [mutable, protected] |
Definition at line 267 of file PaStiXSupport.h.
bool Eigen::PastixBase< Derived >::m_isInitialized [protected] |
Definition at line 263 of file PaStiXSupport.h.
pastix_data_t* Eigen::PastixBase< Derived >::m_pastixdata [mutable, protected] |
Definition at line 265 of file PaStiXSupport.h.
Matrix<Index,Dynamic,1> Eigen::PastixBase< Derived >::m_perm [mutable, protected] |
Definition at line 269 of file PaStiXSupport.h.
int Eigen::PastixBase< Derived >::m_size [mutable, protected] |
Definition at line 271 of file PaStiXSupport.h.