#include <UmfPackSupport.h>
Public Member Functions | |
void | compute (const MatrixType &matrix) |
Scalar | determinant () const |
const LMatrixType & | matrixL () const |
const UMatrixType & | matrixU () const |
const IntColVectorType & | permutationP () const |
const IntRowVectorType & | permutationQ () const |
template<typename BDerived , typename XDerived > | |
bool | solve (const MatrixBase< BDerived > &b, MatrixBase< XDerived > *x) const |
SparseLU (const MatrixType &matrix, int flags=NaturalOrdering) | |
SparseLU (int flags=NaturalOrdering) | |
~SparseLU () | |
Protected Types | |
typedef SparseLU< MatrixType > | Base |
typedef Matrix< int, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType |
typedef Matrix< int, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType |
typedef SparseMatrix< Scalar, LowerTriangular|UnitDiagBit > | LMatrixType |
typedef Base::RealScalar | RealScalar |
typedef Base::Scalar | Scalar |
typedef SparseMatrix< Scalar, UpperTriangular > | UMatrixType |
typedef Matrix< Scalar, Dynamic, 1 > | Vector |
Protected Member Functions | |
void | extractData () const |
Protected Attributes | |
bool | m_extractedDataAreDirty |
LMatrixType | m_l |
const MatrixType * | m_matrixRef |
void * | m_numeric |
IntColVectorType | m_p |
IntRowVectorType | m_q |
UMatrixType | m_u |
Definition at line 121 of file UmfPackSupport.h.
typedef SparseLU<MatrixType> SparseLU< MatrixType, UmfPack >::Base [protected] |
Definition at line 124 of file UmfPackSupport.h.
typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> SparseLU< MatrixType, UmfPack >::IntColVectorType [protected] |
Definition at line 129 of file UmfPackSupport.h.
typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> SparseLU< MatrixType, UmfPack >::IntRowVectorType [protected] |
Definition at line 128 of file UmfPackSupport.h.
typedef SparseMatrix<Scalar,LowerTriangular|UnitDiagBit> SparseLU< MatrixType, UmfPack >::LMatrixType [protected] |
Definition at line 130 of file UmfPackSupport.h.
typedef Base::RealScalar SparseLU< MatrixType, UmfPack >::RealScalar [protected] |
Reimplemented from SparseLU< MatrixType >.
Definition at line 126 of file UmfPackSupport.h.
typedef Base::Scalar SparseLU< MatrixType, UmfPack >::Scalar [protected] |
Reimplemented from SparseLU< MatrixType >.
Definition at line 125 of file UmfPackSupport.h.
typedef SparseMatrix<Scalar,UpperTriangular> SparseLU< MatrixType, UmfPack >::UMatrixType [protected] |
Definition at line 131 of file UmfPackSupport.h.
typedef Matrix<Scalar,Dynamic,1> SparseLU< MatrixType, UmfPack >::Vector [protected] |
Definition at line 127 of file UmfPackSupport.h.
SparseLU< MatrixType, UmfPack >::SparseLU | ( | int | flags = NaturalOrdering |
) | [inline] |
Creates a dummy LU factorization object with flags flags.
Reimplemented from SparseLU< MatrixType >.
Definition at line 137 of file UmfPackSupport.h.
SparseLU< MatrixType, UmfPack >::SparseLU | ( | const MatrixType & | matrix, | |
int | flags = NaturalOrdering | |||
) | [inline] |
Creates a LU object and compute the respective factorization of matrix using flags flags.
Reimplemented from SparseLU< MatrixType >.
Definition at line 142 of file UmfPackSupport.h.
Definition at line 148 of file UmfPackSupport.h.
void SparseLU< MatrixType, UmfPack >::compute | ( | const MatrixType & | matrix | ) | [inline] |
Computes/re-computes the LU factorization
Reimplemented from SparseLU< MatrixType >.
Definition at line 201 of file UmfPackSupport.h.
SparseLU< MatrixType, UmfPack >::Scalar SparseLU< MatrixType, UmfPack >::determinant | ( | ) | const [inline] |
Definition at line 256 of file UmfPackSupport.h.
void SparseLU< MatrixType, UmfPack >::extractData | ( | ) | const [inline, protected] |
Definition at line 228 of file UmfPackSupport.h.
const LMatrixType& SparseLU< MatrixType, UmfPack >::matrixL | ( | void | ) | const [inline] |
Definition at line 154 of file UmfPackSupport.h.
const UMatrixType& SparseLU< MatrixType, UmfPack >::matrixU | ( | ) | const [inline] |
Definition at line 160 of file UmfPackSupport.h.
const IntColVectorType& SparseLU< MatrixType, UmfPack >::permutationP | ( | ) | const [inline] |
Definition at line 166 of file UmfPackSupport.h.
const IntRowVectorType& SparseLU< MatrixType, UmfPack >::permutationQ | ( | ) | const [inline] |
Definition at line 172 of file UmfPackSupport.h.
bool SparseLU< MatrixType, UmfPack >::solve | ( | const MatrixBase< BDerived > & | b, | |
MatrixBase< XDerived > * | x | |||
) | const [inline] |
Reimplemented from SparseLU< MatrixType >.
Definition at line 265 of file UmfPackSupport.h.
bool SparseLU< MatrixType, UmfPack >::m_extractedDataAreDirty [mutable, protected] |
Definition at line 197 of file UmfPackSupport.h.
LMatrixType SparseLU< MatrixType, UmfPack >::m_l [mutable, protected] |
Definition at line 193 of file UmfPackSupport.h.
const MatrixType* SparseLU< MatrixType, UmfPack >::m_matrixRef [protected] |
Definition at line 192 of file UmfPackSupport.h.
Definition at line 191 of file UmfPackSupport.h.
IntColVectorType SparseLU< MatrixType, UmfPack >::m_p [mutable, protected] |
Definition at line 195 of file UmfPackSupport.h.
IntRowVectorType SparseLU< MatrixType, UmfPack >::m_q [mutable, protected] |
Definition at line 196 of file UmfPackSupport.h.
UMatrixType SparseLU< MatrixType, UmfPack >::m_u [mutable, protected] |
Definition at line 194 of file UmfPackSupport.h.