#include <KLUSupport.h>
Public Types | |
enum | { ColsAtCompileTime = MatrixType::ColsAtCompileTime, MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime } |
typedef Matrix< int, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType |
typedef Matrix< int, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType |
typedef Ref< const KLUMatrixType, StandardCompressedFormat > | KLUMatrixRef |
typedef SparseMatrix< Scalar, ColMajor, int > | KLUMatrixType |
typedef SparseMatrix< Scalar > | LUMatrixType |
typedef _MatrixType | MatrixType |
typedef MatrixType::RealScalar | RealScalar |
typedef MatrixType::Scalar | Scalar |
typedef MatrixType::StorageIndex | StorageIndex |
typedef Matrix< Scalar, Dynamic, 1 > | Vector |
Public Member Functions | |
template<typename BDerived , typename XDerived > | |
bool | _solve_impl (const MatrixBase< BDerived > &b, MatrixBase< XDerived > &x) const |
template<typename InputMatrixType > | |
void | analyzePattern (const InputMatrixType &matrix) |
EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
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... | |
KLU () | |
template<typename InputMatrixType > | |
KLU (const InputMatrixType &matrix) | |
const klu_common & | kluCommon () const |
klu_common & | kluCommon () |
EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
~KLU () | |
Public Member Functions inherited from Eigen::SparseSolverBase< KLU< _MatrixType > > | |
void | _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const |
KLU< _MatrixType > & | derived () |
const KLU< _MatrixType > & | derived () const |
const Solve< KLU< _MatrixType >, Rhs > | solve (const MatrixBase< Rhs > &b) const |
const Solve< KLU< _MatrixType >, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
SparseSolverBase () | |
~SparseSolverBase () | |
Protected Types | |
typedef SparseSolverBase< KLU< _MatrixType > > | Base |
Protected Member Functions | |
void | analyzePattern_impl () |
void | factorize_impl () |
template<typename MatrixDerived > | |
void | grab (const EigenBase< MatrixDerived > &A) |
void | grab (const KLUMatrixRef &A) |
void | init () |
Protected Attributes | |
int | m_analysisIsOk |
klu_common | m_common |
KLUMatrixType | m_dummy |
bool | m_extractedDataAreDirty |
int | m_factorizationIsOk |
ComputationInfo | m_info |
klu_numeric * | m_numeric |
klu_symbolic * | m_symbolic |
KLUMatrixRef | mp_matrix |
Protected Attributes inherited from Eigen::SparseSolverBase< KLU< _MatrixType > > | |
bool | m_isInitialized |
Private Member Functions | |
KLU (const KLU &) | |
Definition at line 60 of file KLUSupport.h.
|
protected |
Definition at line 63 of file KLUSupport.h.
typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> Eigen::KLU< _MatrixType >::IntColVectorType |
Definition at line 73 of file KLUSupport.h.
typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> Eigen::KLU< _MatrixType >::IntRowVectorType |
Definition at line 72 of file KLUSupport.h.
typedef Ref<const KLUMatrixType, StandardCompressedFormat> Eigen::KLU< _MatrixType >::KLUMatrixRef |
Definition at line 76 of file KLUSupport.h.
typedef SparseMatrix<Scalar,ColMajor,int> Eigen::KLU< _MatrixType >::KLUMatrixType |
Definition at line 75 of file KLUSupport.h.
typedef SparseMatrix<Scalar> Eigen::KLU< _MatrixType >::LUMatrixType |
Definition at line 74 of file KLUSupport.h.
typedef _MatrixType Eigen::KLU< _MatrixType >::MatrixType |
Definition at line 67 of file KLUSupport.h.
typedef MatrixType::RealScalar Eigen::KLU< _MatrixType >::RealScalar |
Definition at line 69 of file KLUSupport.h.
typedef MatrixType::Scalar Eigen::KLU< _MatrixType >::Scalar |
Definition at line 68 of file KLUSupport.h.
typedef MatrixType::StorageIndex Eigen::KLU< _MatrixType >::StorageIndex |
Definition at line 70 of file KLUSupport.h.
typedef Matrix<Scalar,Dynamic,1> Eigen::KLU< _MatrixType >::Vector |
Definition at line 71 of file KLUSupport.h.
anonymous enum |
Enumerator | |
---|---|
ColsAtCompileTime | |
MaxColsAtCompileTime |
Definition at line 77 of file KLUSupport.h.
|
inline |
Definition at line 84 of file KLUSupport.h.
|
inlineexplicit |
Definition at line 91 of file KLUSupport.h.
|
inline |
Definition at line 98 of file KLUSupport.h.
|
inlineprivate |
Definition at line 299 of file KLUSupport.h.
bool Eigen::KLU< MatrixType >::_solve_impl | ( | const MatrixBase< BDerived > & | b, |
MatrixBase< XDerived > & | x | ||
) | const |
Definition at line 343 of file KLUSupport.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 163 of file KLUSupport.h.
|
inlineprotected |
Definition at line 235 of file KLUSupport.h.
|
inline |
Definition at line 105 of file KLUSupport.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 147 of file KLUSupport.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 201 of file KLUSupport.h.
|
inlineprotected |
Definition at line 251 of file KLUSupport.h.
|
inlineprotected |
Definition at line 264 of file KLUSupport.h.
|
inlineprotected |
Definition at line 270 of file KLUSupport.h.
|
inline |
Reports whether previous computation was successful.
Success
if computation was successful, NumericalIssue
if the matrix.appears to be negative. Definition at line 112 of file KLUSupport.h.
|
inlineprotected |
Definition at line 224 of file KLUSupport.h.
|
inline |
Provides access to the control settings array used by KLU.
See KLU documentation for details.
Definition at line 178 of file KLUSupport.h.
|
inline |
Provides access to the control settings array used by UmfPack.
If this array contains NaN's, the default values are used.
See KLU documentation for details.
Definition at line 189 of file KLUSupport.h.
|
inline |
Definition at line 104 of file KLUSupport.h.
|
protected |
Definition at line 295 of file KLUSupport.h.
|
protected |
Definition at line 292 of file KLUSupport.h.
|
protected |
Definition at line 287 of file KLUSupport.h.
|
mutableprotected |
Definition at line 296 of file KLUSupport.h.
|
protected |
Definition at line 294 of file KLUSupport.h.
|
mutableprotected |
Definition at line 293 of file KLUSupport.h.
|
protected |
Definition at line 290 of file KLUSupport.h.
|
protected |
Definition at line 291 of file KLUSupport.h.
|
protected |
Definition at line 288 of file KLUSupport.h.