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

template<class Derived>
class Eigen::PastixBase< Derived >


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 ( ) [inline, protected]
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 [mutable, protected]
int m_analysisIsOk [protected]
int m_comm [mutable, protected]
Matrix<double,DPARM_SIZE,1> m_dparm [mutable, protected]
int m_factorizationIsOk [protected]
bool m_hasTranspose [mutable, protected]
ComputationInfo m_info [mutable, protected]
int m_initisOk [protected]
Matrix<Index,Dynamic,1> m_invp [mutable, protected]
Matrix<Index,IPARM_SIZE,1> m_iparm [mutable, protected]
bool m_isInitialized [protected]
SparseMatrix<Scalar, ColMajor> m_mat_null [mutable, protected]
int m_ordering [mutable, protected]
pastix_data_t* m_pastixdata [mutable, protected]
Matrix<Index,Dynamic,1> m_perm [mutable, protected]
int m_size [mutable, protected]
SparseMatrix<Scalar, ColMajor> m_StrMatTrans [mutable, protected]
Matrix<Scalar, Dynamic,1> m_vec_null [mutable, protected]

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