#include <PardisoSupport.h>
Public Types | |
enum | { ScalarIsComplex = NumTraits<Scalar>::IsComplex } |
typedef Traits::Index | Index |
typedef Matrix< Index, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType |
typedef Matrix< Index, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType |
typedef Traits::MatrixType | MatrixType |
typedef Array< Index, 64, 1, DontAlign > | ParameterType |
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 () | |
ParameterType & | 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 |
ParameterType | m_iparm |
SparseMatrixType | m_matrix |
Index | m_msglvl |
IntColVectorType | m_perm |
void * | m_pt [64] |
Index | m_size |
Index | m_type |
Private Types | |
typedef internal::pardiso_traits < Derived > | Traits |
Private Member Functions | |
PardisoImpl (PardisoImpl &) |
Definition at line 99 of file PardisoSupport.h.
typedef Traits::Index Eigen::PardisoImpl< Derived >::Index |
Reimplemented in Eigen::PardisoLDLT< MatrixType, Options >, and Eigen::PardisoLLT< MatrixType, _UpLo >.
Definition at line 106 of file PardisoSupport.h.
typedef Matrix<Index, MatrixType::RowsAtCompileTime, 1> Eigen::PardisoImpl< Derived >::IntColVectorType |
Definition at line 110 of file PardisoSupport.h.
typedef Matrix<Index, 1, MatrixType::ColsAtCompileTime> Eigen::PardisoImpl< Derived >::IntRowVectorType |
Definition at line 109 of file PardisoSupport.h.
typedef Traits::MatrixType Eigen::PardisoImpl< Derived >::MatrixType |
Definition at line 103 of file PardisoSupport.h.
typedef Array<Index,64,1,DontAlign> Eigen::PardisoImpl< Derived >::ParameterType |
Definition at line 111 of file PardisoSupport.h.
typedef Traits::RealScalar Eigen::PardisoImpl< Derived >::RealScalar |
Reimplemented in Eigen::PardisoLDLT< MatrixType, Options >, Eigen::PardisoLLT< MatrixType, _UpLo >, and Eigen::PardisoLU< MatrixType >.
Definition at line 105 of file PardisoSupport.h.
typedef Traits::Scalar Eigen::PardisoImpl< Derived >::Scalar |
Reimplemented in Eigen::PardisoLDLT< MatrixType, Options >, Eigen::PardisoLLT< MatrixType, _UpLo >, and Eigen::PardisoLU< MatrixType >.
Definition at line 104 of file PardisoSupport.h.
typedef SparseMatrix<Scalar,RowMajor,Index> Eigen::PardisoImpl< Derived >::SparseMatrixType |
Definition at line 107 of file PardisoSupport.h.
typedef internal::pardiso_traits<Derived> Eigen::PardisoImpl< Derived >::Traits [private] |
Definition at line 101 of file PardisoSupport.h.
typedef Matrix<Scalar,Dynamic,1> Eigen::PardisoImpl< Derived >::VectorType |
Definition at line 108 of file PardisoSupport.h.
anonymous enum |
Definition at line 112 of file PardisoSupport.h.
Eigen::PardisoImpl< Derived >::PardisoImpl | ( | ) | [inline] |
Definition at line 116 of file PardisoSupport.h.
Eigen::PardisoImpl< Derived >::~PardisoImpl | ( | ) | [inline] |
Definition at line 124 of file PardisoSupport.h.
Eigen::PardisoImpl< Derived >::PardisoImpl | ( | PardisoImpl< Derived > & | ) | [inline, private] |
Definition at line 304 of file PardisoSupport.h.
bool Eigen::PardisoImpl< Base >::_solve | ( | const MatrixBase< BDerived > & | b, |
MatrixBase< XDerived > & | x | ||
) | const |
Definition at line 373 of file PardisoSupport.h.
void Eigen::PardisoImpl< Derived >::_solve_sparse | ( | const Rhs & | b, |
SparseMatrix< DestScalar, DestOptions, DestIndex > & | dest | ||
) | const [inline] |
Definition at line 211 of file PardisoSupport.h.
Derived & Eigen::PardisoImpl< 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.
Definition at line 331 of file PardisoSupport.h.
Index Eigen::PardisoImpl< Derived >::cols | ( | void | ) | const [inline] |
Definition at line 129 of file PardisoSupport.h.
Derived & Eigen::PardisoImpl< Derived >::compute | ( | const MatrixType & | matrix | ) |
Definition at line 308 of file PardisoSupport.h.
Derived& Eigen::PardisoImpl< Derived >::derived | ( | ) | [inline] |
Definition at line 197 of file PardisoSupport.h.
const Derived& Eigen::PardisoImpl< Derived >::derived | ( | ) | const [inline] |
Definition at line 201 of file PardisoSupport.h.
Derived & Eigen::PardisoImpl< 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.
Definition at line 354 of file PardisoSupport.h.
ComputationInfo Eigen::PardisoImpl< Derived >::info | ( | ) | const [inline] |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the matrix appears to be negative. Definition at line 137 of file PardisoSupport.h.
void Eigen::PardisoImpl< Derived >::manageErrorCode | ( | Index | error | ) | [inline, protected] |
Definition at line 278 of file PardisoSupport.h.
void Eigen::PardisoImpl< Derived >::pardisoInit | ( | int | type | ) | [inline, protected] |
Definition at line 242 of file PardisoSupport.h.
ParameterType& Eigen::PardisoImpl< Derived >::pardisoParameterArray | ( | ) | [inline] |
Definition at line 146 of file PardisoSupport.h.
void Eigen::PardisoImpl< Derived >::pardisoRelease | ( | ) | [inline, protected] |
Definition at line 233 of file PardisoSupport.h.
Index Eigen::PardisoImpl< Derived >::rows | ( | void | ) | const [inline] |
Definition at line 130 of file PardisoSupport.h.
const internal::solve_retval<PardisoImpl, Rhs> Eigen::PardisoImpl< Derived >::solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline] |
Definition at line 175 of file PardisoSupport.h.
const internal::sparse_solve_retval<PardisoImpl, Rhs> Eigen::PardisoImpl< Derived >::solve | ( | const SparseMatrixBase< Rhs > & | b | ) | const [inline] |
Definition at line 189 of file PardisoSupport.h.
bool Eigen::PardisoImpl< Derived >::m_analysisIsOk [protected] |
Definition at line 296 of file PardisoSupport.h.
bool Eigen::PardisoImpl< Derived >::m_factorizationIsOk [protected] |
Definition at line 296 of file PardisoSupport.h.
ComputationInfo Eigen::PardisoImpl< Derived >::m_info [protected] |
Definition at line 295 of file PardisoSupport.h.
bool Eigen::PardisoImpl< Derived >::m_initialized [protected] |
Definition at line 296 of file PardisoSupport.h.
ParameterType Eigen::PardisoImpl< Derived >::m_iparm [mutable, protected] |
Definition at line 299 of file PardisoSupport.h.
SparseMatrixType Eigen::PardisoImpl< Derived >::m_matrix [mutable, protected] |
Definition at line 294 of file PardisoSupport.h.
Index Eigen::PardisoImpl< Derived >::m_msglvl [protected] |
Definition at line 297 of file PardisoSupport.h.
IntColVectorType Eigen::PardisoImpl< Derived >::m_perm [mutable, protected] |
Definition at line 300 of file PardisoSupport.h.
void* Eigen::PardisoImpl< Derived >::m_pt[64] [mutable, protected] |
Definition at line 298 of file PardisoSupport.h.
Index Eigen::PardisoImpl< Derived >::m_size [protected] |
Definition at line 301 of file PardisoSupport.h.
Index Eigen::PardisoImpl< Derived >::m_type [protected] |
Definition at line 297 of file PardisoSupport.h.