Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
PastixBase< Derived > Class Template Reference

#include <PaStiXSupport.h>

List of all members.

Public Types

typedef
internal::pastix_traits
< Derived >::MatrixType 
_MatrixType
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
Derived & analyzePattern (MatrixType &mat)
Index cols () const
Derived & derived ()
const Derived & derived () const
Array< RealScalar, IPARM_SIZE, 1 > & dparm ()
double & dparm (int idxparam)
Derived & factorize (MatrixType &mat)
ComputationInfo info () const
 Reports whether previous computation was successful.
Array< Index, IPARM_SIZE, 1 > & iparm ()
intiparm (int idxparam)
 PastixBase ()
void PastixInit ()
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

Derived & compute (MatrixType &mat)
void PastixDestroy ()

Protected Attributes

int m_amalgamation
int m_analysisIsOk
int m_comm
Matrix< double, DPARM_SIZE, 1 > m_dparm
int m_factorizationIsOk
bool m_hasTranspose
ComputationInfo m_info
int m_initisOk
Matrix< Index, Dynamic, 1 > m_invp
Matrix< Index, IPARM_SIZE, 1 > m_iparm
bool m_isInitialized
SparseMatrix< Scalar, ColMajorm_mat_null
int m_ordering
pastix_data_t * m_pastixdata
Matrix< Index, Dynamic, 1 > m_perm
int m_size
SparseMatrix< Scalar, ColMajorm_StrMatTrans
Matrix< Scalar, Dynamic, 1 > m_vec_null

Member Typedef Documentation

typedef internal::pastix_traits<Derived>::MatrixType _MatrixType
typedef MatrixType::Index Index
typedef MatrixType::RealScalar RealScalar
typedef MatrixType::Scalar Scalar

Constructor & Destructor Documentation

PastixBase ( )
inline
~PastixBase ( )
inline

Member Function Documentation

bool _solve ( const MatrixBase< Rhs > &  b,
MatrixBase< Dest > &  x 
) const
void _solve_sparse ( const Rhs &  b,
SparseMatrix< DestScalar, DestOptions, DestIndex > &  dest 
) const
inline
Derived & analyzePattern ( MatrixType mat)
Index cols ( void  ) const
inline
Derived & compute ( MatrixType mat)
protected
Derived& derived ( )
inline
const Derived& derived ( ) const
inline
Array<RealScalar,IPARM_SIZE,1>& 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

See also:
analyzePattern() factorize()
double& dparm ( int  idxparam)
inline

Return a reference to a particular index parameter of the DPARM vector

See also:
dparm()
Derived & factorize ( MatrixType mat)
ComputationInfo info ( ) const
inline

Reports whether previous computation was successful.

Returns:
Success if computation was succesful, NumericalIssue if the PaStiX reports a problem InvalidInput if the input matrix is invalid
See also:
iparm()
Array<Index,IPARM_SIZE,1>& 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

See also:
analyzePattern() factorize()
int& iparm ( int  idxparam)
inline

Return a reference to a particular index parameter of the IPARM vector

See also:
iparm()
void PastixDestroy ( )
inlineprotected
void PastixInit ( )
Index rows ( void  ) const
inline
const internal::solve_retval<PastixBase, Rhs> solve ( const MatrixBase< Rhs > &  b) const
inline
Returns:
the solution x of $ A x = b $ using the current decomposition of A.
See also:
compute()
const internal::sparse_solve_retval<PastixBase, Rhs> solve ( const SparseMatrixBase< Rhs > &  b) const
inline
Returns:
the solution x of $ A x = b $ using the current decomposition of A.
See also:
compute()

Member Data Documentation

int m_amalgamation
mutableprotected
int m_analysisIsOk
protected
int m_comm
mutableprotected
Matrix<double,DPARM_SIZE,1> m_dparm
mutableprotected
int m_factorizationIsOk
protected
bool m_hasTranspose
mutableprotected
ComputationInfo m_info
mutableprotected
int m_initisOk
protected
Matrix<Index,Dynamic,1> m_invp
mutableprotected
Matrix<Index,IPARM_SIZE,1> m_iparm
mutableprotected
bool m_isInitialized
protected
SparseMatrix<Scalar, ColMajor> m_mat_null
mutableprotected
int m_ordering
mutableprotected
pastix_data_t* m_pastixdata
mutableprotected
Matrix<Index,Dynamic,1> m_perm
mutableprotected
int m_size
mutableprotected
SparseMatrix<Scalar, ColMajor> m_StrMatTrans
mutableprotected
Matrix<Scalar, Dynamic,1> m_vec_null
mutableprotected

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