$treeview $search $mathjax
Eigen
3.2.5
$projectbrief
|
$projectbrief
|
$searchbox |
A sparse direct incomplete LU factorization and solver based on the SuperLU library. More...
Public Member Functions | |
void | analyzePattern (const MatrixType &matrix) |
void | compute (const MatrixType &matrix) |
void | factorize (const MatrixType &matrix) |
ComputationInfo | info () const |
Reports whether previous computation was successful. | |
superlu_options_t & | options () |
const internal::sparse_solve_retval < SuperLUBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
const internal::solve_retval < SuperLUBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
A sparse direct incomplete LU factorization and solver based on the SuperLU library.
This class allows to solve for an approximate solution of A.X = B sparse linear problems via an incomplete LU factorization using the SuperLU library. This class is aimed to be used as a preconditioner of the iterative linear solvers.
_MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
void analyzePattern | ( | const MatrixType & | matrix | ) | [inline] |
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
Reimplemented from SuperLUBase< _MatrixType, SuperILU< _MatrixType > >.
References SuperLUBase< _MatrixType, Derived >::analyzePattern().
void compute | ( | const MatrixType & | matrix | ) | [inline, inherited] |
Computes the sparse Cholesky decomposition of matrix
void factorize | ( | const MatrixType & | matrix | ) | [inline] |
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.
References PlainObjectBase< Derived >::data(), Eigen::InvalidInput, Eigen::NumericalIssue, and Eigen::Success.
ComputationInfo info | ( | ) | const [inline, inherited] |
Reports whether previous computation was successful.
Success
if computation was succesful, NumericalIssue
if the matrix.appears to be negative. superlu_options_t& options | ( | ) | [inline, inherited] |
const internal::sparse_solve_retval<SuperLUBase, Rhs> solve | ( | const SparseMatrixBase< Rhs > & | b | ) | const [inline, inherited] |
References EigenBase< Derived >::derived(), and SparseMatrixBase< Derived >::rows().
const internal::solve_retval<SuperLUBase, Rhs> solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline, inherited] |