template<typename _MatrixType>
class Eigen::UmfPackLU< _MatrixType >
A sparse LU factorization and solver based on UmfPack.
This class allows to solve for A.X = B sparse linear problems via a LU factorization using the UmfPack library. The sparse matrix A must be squared and full rank. The vectors or matrices X and B can be either dense or sparse.
- Warning
- The input matrix A should be in a compressed and column-major form. Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix.
- Template Parameters
-
_MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
- See Also
- Sparse solvers
Inherits noncopyable.
|
template<typename InputMatrixType > |
void | analyzePattern (const InputMatrixType &matrix) |
|
template<typename InputMatrixType > |
void | compute (const InputMatrixType &matrix) |
|
template<typename InputMatrixType > |
void | factorize (const InputMatrixType &matrix) |
|
ComputationInfo | info () const |
| Reports whether previous computation was successful. More...
|
|
template<typename Rhs > |
const internal::solve_retval
< UmfPackLU, Rhs > | solve (const MatrixBase< Rhs > &b) const |
|
template<typename Rhs > |
const
internal::sparse_solve_retval
< UmfPackLU, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
|