A sparse LU factorization and solver based on UmfPack. More...
#include <UmfPackSupport.h>

| Public Types | |
| typedef MatrixType::Index | Index | 
| typedef Matrix< int, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType | 
| typedef Matrix< int, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType | 
| typedef SparseMatrix< Scalar > | LUMatrixType | 
| typedef _MatrixType | MatrixType | 
| typedef MatrixType::RealScalar | RealScalar | 
| typedef MatrixType::Scalar | Scalar | 
| typedef SparseMatrix< Scalar, ColMajor, int > | UmfpackMatrixType | 
| typedef Matrix< Scalar, Dynamic, 1 > | Vector | 
| Public Member Functions | |
| template<typename BDerived , typename XDerived > | |
| bool | _solve (const MatrixBase< BDerived > &b, MatrixBase< XDerived > &x) const | 
| void | analyzePattern (const MatrixType &matrix) | 
| Index | cols () const | 
| void | compute (const MatrixType &matrix) | 
| Scalar | determinant () const | 
| void | extractData () const | 
| void | factorize (const MatrixType &matrix) | 
| ComputationInfo | info () const | 
| Reports whether previous computation was successful.  More... | |
| const LUMatrixType & | matrixL () const | 
| const LUMatrixType & | matrixU () const | 
| const IntColVectorType & | permutationP () const | 
| const IntRowVectorType & | permutationQ () const | 
| Index | rows () const | 
| 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 | 
| UmfPackLU () | |
| UmfPackLU (const MatrixType &matrix) | |
| ~UmfPackLU () | |
| Protected Member Functions | |
| void | grapInput (const MatrixType &mat) | 
| void | init () | 
| Protected Attributes | |
| int | m_analysisIsOk | 
| UmfpackMatrixType | m_copyMatrix | 
| bool | m_extractedDataAreDirty | 
| int | m_factorizationIsOk | 
| ComputationInfo | m_info | 
| const int * | m_innerIndexPtr | 
| bool | m_isInitialized | 
| LUMatrixType | m_l | 
| void * | m_numeric | 
| const int * | m_outerIndexPtr | 
| IntColVectorType | m_p | 
| IntRowVectorType | m_q | 
| void * | m_symbolic | 
| LUMatrixType | m_u | 
| const Scalar * | m_valuePtr | 
| Private Member Functions | |
| UmfPackLU (UmfPackLU &) | |
|  Private Member Functions inherited from Eigen::internal::noncopyable | |
| noncopyable () | |
| ~noncopyable () | |
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.
| _MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> | 
Definition at line 124 of file UmfPackSupport.h.
| typedef MatrixType::Index Eigen::UmfPackLU< _MatrixType >::Index | 
Definition at line 130 of file UmfPackSupport.h.
| typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> Eigen::UmfPackLU< _MatrixType >::IntColVectorType | 
Definition at line 133 of file UmfPackSupport.h.
| typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> Eigen::UmfPackLU< _MatrixType >::IntRowVectorType | 
Definition at line 132 of file UmfPackSupport.h.
| typedef SparseMatrix<Scalar> Eigen::UmfPackLU< _MatrixType >::LUMatrixType | 
Definition at line 134 of file UmfPackSupport.h.
| typedef _MatrixType Eigen::UmfPackLU< _MatrixType >::MatrixType | 
Definition at line 127 of file UmfPackSupport.h.
| typedef MatrixType::RealScalar Eigen::UmfPackLU< _MatrixType >::RealScalar | 
Definition at line 129 of file UmfPackSupport.h.
| typedef MatrixType::Scalar Eigen::UmfPackLU< _MatrixType >::Scalar | 
Definition at line 128 of file UmfPackSupport.h.
| typedef SparseMatrix<Scalar,ColMajor,int> Eigen::UmfPackLU< _MatrixType >::UmfpackMatrixType | 
Definition at line 135 of file UmfPackSupport.h.
| typedef Matrix<Scalar,Dynamic,1> Eigen::UmfPackLU< _MatrixType >::Vector | 
Definition at line 131 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 139 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 141 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 147 of file UmfPackSupport.h.
| 
 | inlineprivate | 
Definition at line 337 of file UmfPackSupport.h.
| bool Eigen::UmfPackLU< MatrixType >::_solve | ( | const MatrixBase< BDerived > & | b, | 
| MatrixBase< XDerived > & | x | ||
| ) | const | 
Definition at line 379 of file UmfPackSupport.h.
| 
 | inline | 
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
Definition at line 233 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 154 of file UmfPackSupport.h.
| 
 | inline | 
Computes the sparse Cholesky decomposition of matrix Note that the matrix should be column-major, and in compressed format for best performance.
Definition at line 195 of file UmfPackSupport.h.
| UmfPackLU< MatrixType >::Scalar Eigen::UmfPackLU< MatrixType >::determinant | ( | ) | const | 
Definition at line 370 of file UmfPackSupport.h.
| void Eigen::UmfPackLU< MatrixType >::extractData | ( | ) | const | 
Definition at line 342 of file UmfPackSupport.h.
| 
 | inline | 
Performs a numeric decomposition of matrix
The given matrix must has the same sparcity than the matrix on which the pattern anylysis has been performed.
Definition at line 258 of file UmfPackSupport.h.
| 
 | inlineprotected | 
Definition at line 298 of file UmfPackSupport.h.
| 
 | inline | 
Reports whether previous computation was successful.
Success if computation was succesful, NumericalIssue if the matrix.appears to be negative. Definition at line 161 of file UmfPackSupport.h.
| 
 | inlineprotected | 
Definition at line 287 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 167 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 173 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 179 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 185 of file UmfPackSupport.h.
| 
 | inline | 
Definition at line 153 of file UmfPackSupport.h.
| 
 | inline | 
 using the current decomposition of A.
 using the current decomposition of A.Definition at line 206 of file UmfPackSupport.h.
| 
 | inline | 
 using the current decomposition of A.
 using the current decomposition of A.Definition at line 219 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 333 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 323 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 334 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 332 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 330 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 326 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 331 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 318 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 327 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 325 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 320 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 321 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 328 of file UmfPackSupport.h.
| 
 | mutableprotected | 
Definition at line 319 of file UmfPackSupport.h.
| 
 | protected | 
Definition at line 324 of file UmfPackSupport.h.