W3cubDocs

/Eigen3

Eigen::SuperILU

template<typename _MatrixType>
class Eigen::SuperILU< _MatrixType >

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.

Warning
This class is only for the 4.x versions of SuperLU. The 3.x and 5.x versions are not supported.
Template Parameters
_MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>

This class follows the sparse solver concept .

See also
Sparse solver concept, class IncompleteLUT, class ConjugateGradient, class BiCGSTAB
void analyzePattern (const MatrixType &matrix)
void factorize (const MatrixType &matrix)
- Public Member Functions inherited from Eigen::SuperLUBase< _MatrixType, SuperILU< _MatrixType > >
void analyzePattern (const MatrixType &)
void compute (const MatrixType &matrix)
ComputationInfo info () const
Reports whether previous computation was successful. More...
superlu_options_t & options ()
- Public Member Functions inherited from Eigen::SparseSolverBase< Derived >
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
SparseSolverBase ()

analyzePattern()

template<typename _MatrixType >
void Eigen::SuperILU< _MatrixType >::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.

See also
factorize()

factorize()

template<typename MatrixType >
void Eigen::SuperILU< MatrixType >::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.

See also
analyzePattern()

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

© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/classEigen_1_1SuperILU.html