$treeview $search $mathjax
Eigen
3.2.5
$projectbrief
|
$projectbrief
|
$searchbox |
A sparse direct supernodal Cholesky (LLT) factorization and solver based on the PaStiX library. More...
Inherits Eigen::PastixBase< PastixLDLT< _MatrixType, _UpLo > >.
Public Member Functions | |
void | analyzePattern (const MatrixType &matrix) |
void | compute (const MatrixType &matrix) |
double & | dparm (int idxparam) |
Array< RealScalar, IPARM_SIZE, 1 > & | dparm () |
void | factorize (const MatrixType &matrix) |
ComputationInfo | info () const |
Reports whether previous computation was successful. | |
int & | iparm (int idxparam) |
Array< Index, IPARM_SIZE, 1 > & | iparm () |
template<typename Rhs > | |
const internal::sparse_solve_retval < PastixBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const internal::solve_retval < PastixBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
A sparse direct supernodal Cholesky (LLT) factorization and solver based on the PaStiX library.
This class is used to solve the linear systems A.X = B via a LDL^T supernodal Cholesky factorization available in the PaStiX library. The matrix A should be symmetric and positive definite WARNING Selfadjoint complex matrices are not supported in the current version of PaStiX The vectors or matrices X and B can be either dense or sparse
MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> | |
UpLo | The part of the matrix to use : Lower or Upper. The default is Lower as required by PaStiX |
void analyzePattern | ( | const MatrixType & | matrix | ) | [inline] |
Compute the LDL^T symbolic factorization of matrix
using its sparsity pattern The result of this operation can be used with successive matrices having the same pattern as matrix
void compute | ( | const MatrixType & | matrix | ) | [inline] |
Compute the L and D factors of the LDL^T factorization of matrix
double& dparm | ( | int | idxparam | ) | [inline, inherited] |
Return a reference to a particular index parameter of the DPARM vector
Array<RealScalar,IPARM_SIZE,1>& dparm | ( | ) | [inline, inherited] |
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
void factorize | ( | const MatrixType & | matrix | ) | [inline] |
Compute the LDL^T supernodal numerical factorization of matrix
ComputationInfo info | ( | ) | const [inline, inherited] |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the PaStiX reports a problem InvalidInput
if the input matrix is invalidint& iparm | ( | int | idxparam | ) | [inline, inherited] |
Return a reference to a particular index parameter of the IPARM vector
Array<Index,IPARM_SIZE,1>& iparm | ( | ) | [inline, inherited] |
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
const internal::sparse_solve_retval<PastixBase, Rhs> solve | ( | const SparseMatrixBase< Rhs > & | b | ) | const [inline, inherited] |
const internal::solve_retval<PastixBase, Rhs> solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline, inherited] |