![]() |
Eigen
3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
|
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<> |
This class follows the sparse solver concept .
Public Member Functions | |
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. | |
void | printUmfpackControl () |
void | printUmfpackInfo () |
void | printUmfpackStatus () |
UmfpackControl & | umfpackControl () |
const UmfpackControl & | umfpackControl () const |
int | umfpackFactorizeReturncode () const |
![]() | |
const Solve< UmfPackLU< MatrixType_ >, Rhs > | solve (const MatrixBase< Rhs > &b) const |
const Solve< UmfPackLU< MatrixType_ >, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
SparseSolverBase () | |
|
inline |
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
|
inline |
Computes the sparse Cholesky decomposition of matrix Note that the matrix should be column-major, and in compressed format for best performance.
|
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.
|
inline |
Reports whether previous computation was successful.
Success
if computation was successful, NumericalIssue
if the matrix.appears to be negative.
|
inline |
Prints the current UmfPack control settings.
|
inline |
Prints statistics collected by UmfPack.
|
inline |
Prints the status of the previous factorization operation performed by UmfPack (symbolic or numerical factorization).
|
inline |
Provides access to the control settings array used by UmfPack.
If this array contains NaN's, the default values are used.
See UMFPACK documentation for details.
|
inline |
Provides access to the control settings array used by UmfPack.
If this array contains NaN's, the default values are used.
See UMFPACK documentation for details.
|
inline |
Provides the return status code returned by UmfPack during the numeric factorization.