#include <PardisoSupport.h>
Public Types | |
enum | { ScalarIsComplex } |
typedef Traits::Index | Index |
typedef Matrix< Index, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType |
typedef Matrix< Index, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType |
typedef Traits::MatrixType | MatrixType |
typedef Traits::RealScalar | RealScalar |
typedef Traits::Scalar | Scalar |
typedef SparseMatrix< Scalar, RowMajor, Index > | SparseMatrixType |
typedef Matrix< Scalar, Dynamic, 1 > | VectorType |
Public Member Functions | |
template<typename BDerived , typename XDerived > | |
bool | _solve (const MatrixBase< BDerived > &b, MatrixBase< XDerived > &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 (const MatrixType &matrix) |
Index | cols () const |
Derived & | compute (const MatrixType &matrix) |
Derived & | derived () |
const Derived & | derived () const |
Derived & | factorize (const MatrixType &matrix) |
ComputationInfo | info () const |
Reports whether previous computation was successful. | |
PardisoImpl () | |
Array< Index, 64, 1 > & | pardisoParameterArray () |
Index | rows () const |
template<typename Rhs > | |
const internal::solve_retval < PardisoImpl, Rhs > | solve (const MatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const internal::sparse_solve_retval < PardisoImpl, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
~PardisoImpl () | |
Protected Member Functions | |
void | manageErrorCode (Index error) |
void | pardisoInit (int type) |
void | pardisoRelease () |
Protected Attributes | |
bool | m_analysisIsOk |
bool | m_factorizationIsOk |
ComputationInfo | m_info |
bool | m_initialized |
Array< Index, 64, 1 > | m_iparm |
SparseMatrixType | m_matrix |
Index | m_msglvl |
IntColVectorType | m_perm |
void * | m_pt [64] |
Index | m_size |
Index | m_type |
typedef Traits::Index Index |
Reimplemented in PardisoLDLT< MatrixType, Options >, and PardisoLLT< MatrixType, _UpLo >.
typedef Matrix<Index, MatrixType::RowsAtCompileTime, 1> IntColVectorType |
typedef Matrix<Index, 1, MatrixType::ColsAtCompileTime> IntRowVectorType |
typedef Traits::MatrixType MatrixType |
typedef Traits::RealScalar RealScalar |
Reimplemented in PardisoLDLT< MatrixType, Options >, PardisoLLT< MatrixType, _UpLo >, and PardisoLU< MatrixType >.
typedef Traits::Scalar Scalar |
Reimplemented in PardisoLDLT< MatrixType, Options >, PardisoLLT< MatrixType, _UpLo >, and PardisoLU< MatrixType >.
typedef SparseMatrix<Scalar,RowMajor,Index> SparseMatrixType |
typedef Matrix<Scalar,Dynamic,1> VectorType |
PardisoImpl | ( | ) | [inline] |
~PardisoImpl | ( | ) | [inline] |
bool _solve | ( | const MatrixBase< BDerived > & | b, |
MatrixBase< XDerived > & | x | ||
) | const |
void _solve_sparse | ( | const Rhs & | b, |
SparseMatrix< DestScalar, DestOptions, DestIndex > & | dest | ||
) | const [inline] |
Derived & analyzePattern | ( | const MatrixType & | matrix | ) |
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
Derived & compute | ( | const MatrixType & | matrix | ) |
Derived& derived | ( | ) | [inline] |
Referenced by PardisoImpl< PardisoLU< MatrixType > >::_solve_sparse().
const Derived& derived | ( | ) | const [inline] |
Derived & factorize | ( | const MatrixType & | matrix | ) |
Performs a numeric decomposition of matrix
The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
ComputationInfo info | ( | ) | const [inline] |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the matrix appears to be negative. void manageErrorCode | ( | Index | error | ) | [inline, protected] |
void pardisoInit | ( | int | type | ) | [inline, protected] |
Array<Index,64,1>& pardisoParameterArray | ( | ) | [inline] |
void pardisoRelease | ( | ) | [inline, protected] |
Referenced by PardisoImpl< PardisoLU< MatrixType > >::~PardisoImpl().
Referenced by PardisoImpl< PardisoLU< MatrixType > >::solve().
const internal::solve_retval<PardisoImpl, Rhs> solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline] |
const internal::sparse_solve_retval<PardisoImpl, Rhs> solve | ( | const SparseMatrixBase< Rhs > & | b | ) | const [inline] |
bool m_analysisIsOk [protected] |
bool m_factorizationIsOk [protected] |
ComputationInfo m_info [protected] |
bool m_initialized [protected] |
SparseMatrixType m_matrix [mutable, protected] |
IntColVectorType m_perm [mutable, protected] |
Referenced by PardisoImpl< PardisoLU< MatrixType > >::pardisoRelease().
void* m_pt[64] [mutable, protected] |
Referenced by PardisoImpl< PardisoLU< MatrixType > >::pardisoRelease().