NDDEM
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Friends | List of all members
Eigen::PardisoLLT< MatrixType, _UpLo > Class Template Reference

A sparse direct Cholesky (LLT) factorization and solver based on the PARDISO library. More...

#include <PardisoSupport.h>

+ Inheritance diagram for Eigen::PardisoLLT< MatrixType, _UpLo >:

Public Types

enum  { UpLo = _UpLo }
 
typedef Base::Scalar Scalar
 
typedef Base::RealScalar RealScalar
 
typedef Base::StorageIndex StorageIndex
 
- Public Types inherited from Eigen::PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
enum  
 
typedef Traits::MatrixType MatrixType
 
typedef Traits::Scalar Scalar
 
typedef Traits::RealScalar RealScalar
 
typedef Traits::StorageIndex StorageIndex
 
typedef SparseMatrix< Scalar, RowMajor, StorageIndexSparseMatrixType
 
typedef Matrix< Scalar, Dynamic, 1 > VectorType
 
typedef Matrix< StorageIndex, 1, MatrixType::ColsAtCompileTime > IntRowVectorType
 
typedef Matrix< StorageIndex, MatrixType::RowsAtCompileTime, 1 > IntColVectorType
 
typedef Array< StorageIndex, 64, 1, DontAlign > ParameterType
 

Public Member Functions

 PardisoLLT ()
 
 PardisoLLT (const MatrixType &matrix)
 
- Public Member Functions inherited from Eigen::PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
 PardisoImpl ()
 
 ~PardisoImpl ()
 
Index cols () const
 
Index rows () const
 
ComputationInfo info () const
 Reports whether previous computation was successful. More...
 
ParameterTypepardisoParameterArray ()
 
PardisoLLT< MatrixType, _UpLo > & analyzePattern (const MatrixType &matrix)
 
PardisoLLT< MatrixType, _UpLo > & factorize (const MatrixType &matrix)
 
PardisoLLT< MatrixType, _UpLo > & compute (const MatrixType &matrix)
 
void _solve_impl (const MatrixBase< Rhs > &b, MatrixBase< Dest > &dest) const
 
void _solve_impl (const MatrixBase< BDerived > &b, MatrixBase< XDerived > &x) const
 
void _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const
 
- Public Member Functions inherited from Eigen::SparseSolverBase< Derived >
 SparseSolverBase ()
 
 ~SparseSolverBase ()
 
Derived & derived ()
 
const Derived & derived () const
 
template<typename Rhs >
const Solve< Derived, Rhs > solve (const MatrixBase< Rhs > &b) const
 
template<typename Rhs >
const Solve< Derived, Rhs > solve (const SparseMatrixBase< Rhs > &b) const
 
template<typename Rhs , typename Dest >
void _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const
 

Protected Types

typedef PardisoImpl< PardisoLLT< MatrixType, _UpLo > > Base
 
- Protected Types inherited from Eigen::PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
typedef SparseSolverBase< PardisoLLT< MatrixType, _UpLo > > Base
 
typedef internal::pardiso_traits< PardisoLLT< MatrixType, _UpLo > > Traits
 

Protected Member Functions

void getMatrix (const MatrixType &matrix)
 
- Protected Member Functions inherited from Eigen::PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
void pardisoRelease ()
 
void pardisoInit (int type)
 
void manageErrorCode (Index error) const
 
PardisoLLT< MatrixType, _UpLo > & derived ()
 
const PardisoLLT< MatrixType, _UpLo > & derived () const
 

Friends

class PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
 

Additional Inherited Members

- Protected Attributes inherited from Eigen::PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
SparseMatrixType m_matrix
 
ComputationInfo m_info
 
bool m_analysisIsOk
 
bool m_factorizationIsOk
 
StorageIndex m_type
 
StorageIndex m_msglvl
 
void * m_pt [64]
 
ParameterType m_iparm
 
IntColVectorType m_perm
 
Index m_size
 
bool m_isInitialized
 
- Protected Attributes inherited from Eigen::SparseSolverBase< Derived >
bool m_isInitialized
 

Detailed Description

template<typename MatrixType, int _UpLo>
class Eigen::PardisoLLT< MatrixType, _UpLo >

A sparse direct Cholesky (LLT) factorization and solver based on the PARDISO library.

This class allows to solve for A.X = B sparse linear problems via a LL^T Cholesky factorization using the Intel MKL PARDISO library. The sparse matrix A must be selfajoint and positive definite. The vectors or matrices X and B can be either dense or sparse.

By default, it runs in in-core mode. To enable PARDISO's out-of-core feature, set:

solver.pardisoParameterArray()[59] = 1;
Template Parameters
MatrixTypethe type of the sparse matrix A, it must be a SparseMatrix<>
UpLocan be any bitwise combination of Upper, Lower. The default is Upper, meaning only the upper triangular part has to be used. Upper|Lower can be used to tell both triangular parts can be used as input.

\implsparsesolverconcept

See also
TutorialSparseSolverConcept, class SimplicialLLT

Member Typedef Documentation

◆ Base

template<typename MatrixType , int _UpLo>
typedef PardisoImpl< PardisoLLT<MatrixType,_UpLo> > Eigen::PardisoLLT< MatrixType, _UpLo >::Base
protected

◆ RealScalar

template<typename MatrixType , int _UpLo>
typedef Base::RealScalar Eigen::PardisoLLT< MatrixType, _UpLo >::RealScalar

◆ Scalar

template<typename MatrixType , int _UpLo>
typedef Base::Scalar Eigen::PardisoLLT< MatrixType, _UpLo >::Scalar

◆ StorageIndex

template<typename MatrixType , int _UpLo>
typedef Base::StorageIndex Eigen::PardisoLLT< MatrixType, _UpLo >::StorageIndex

Member Enumeration Documentation

◆ anonymous enum

template<typename MatrixType , int _UpLo>
anonymous enum
Enumerator
UpLo 

Constructor & Destructor Documentation

◆ PardisoLLT() [1/2]

template<typename MatrixType , int _UpLo>
Eigen::PardisoLLT< MatrixType, _UpLo >::PardisoLLT ( )
inline

◆ PardisoLLT() [2/2]

template<typename MatrixType , int _UpLo>
Eigen::PardisoLLT< MatrixType, _UpLo >::PardisoLLT ( const MatrixType matrix)
inlineexplicit

Member Function Documentation

◆ getMatrix()

template<typename MatrixType , int _UpLo>
void Eigen::PardisoLLT< MatrixType, _UpLo >::getMatrix ( const MatrixType matrix)
inlineprotected

Friends And Related Function Documentation

◆ PardisoImpl< PardisoLLT< MatrixType, _UpLo > >

template<typename MatrixType , int _UpLo>
friend class PardisoImpl< PardisoLLT< MatrixType, _UpLo > >
friend

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