LDLT Cholesky decomposition of a sparse matrix and associated features.
| MatrixType | the type of the matrix of which we are computing the LDLT Cholesky decomposition |
Definition at line 80 of file SparseExtra.

Public Types | |
| typedef SparseMatrix< Scalar > | CholMatrixType |
| typedef _MatrixType | MatrixType |
| typedef MatrixType::Index | Index |
Public Member Functions | |
| SparseLDLT (int flags=0) | |
| Creates a dummy LDLT factorization object with flags flags. | |
| SparseLDLT (const MatrixType &matrix, int flags=0) | |
| Creates a LDLT object and compute the respective factorization of matrix using flags flags. | |
| void | setPrecision (RealScalar v) |
| Sets the relative threshold value used to prune zero coefficients during the decomposition. | |
| RealScalar | precision () const |
| void | settags (int f) |
| Sets the flags. | |
| int | flags () const |
| void | compute (const MatrixType &matrix) |
| Computes/re-computes the LDLT factorization. | |
| void | _symbolic (const MatrixType &matrix) |
| Perform a symbolic factorization. | |
| bool | _numeric (const MatrixType &matrix) |
| Perform the actual factorization using the previously computed symbolic factorization. | |
| const CholMatrixType & | matrixL (void) const |
| VectorType | vectorD (void) const |
| template<typename Derived > | |
| bool | solveInPlace (MatrixBase< Derived > &b) const |
| Computes b = L^-T D^-1 L^-1 b. | |
| template<typename Rhs > | |
| const internal::solve_retval < SparseLDLT< MatrixType > , Rhs > | solve (const MatrixBase< Rhs > &b) const |
| Index | cols () const |
| Index | rows () const |
| const VectorType & | diag () const |
| bool | succeeded (void) const |
Protected Types | |
| enum | { SupernodalFactorIsDirty = 0x10000, MatrixLIsDirty = 0x20000 } |
| typedef _MatrixType::Scalar | Scalar |
| typedef NumTraits< typename _MatrixType::Scalar >::Real | RealScalar |
| typedef Matrix< Scalar, _MatrixType::ColsAtCompileTime, 1 > | VectorType |
Protected Attributes | |
| CholMatrixType | m_matrix |
| VectorType | m_diag |
| VectorXi | m_parent |
| VectorXi | m_nonZerosPerCol |
| PermutationMatrix< Dynamic > | m_P |
| PermutationMatrix< Dynamic > | m_Pinv |
| RealScalar | m_precision |
| int | m_flags |
| int | m_status |
| bool | m_succeeded |
| typedef SparseMatrix<Scalar> Eigen::SparseLDLT< _MatrixType, Backend >::CholMatrixType |
Definition at line 94 of file SparseExtra.
| typedef MatrixType::Index Eigen::SparseLDLT< _MatrixType, Backend >::Index |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 96 of file SparseExtra.
| typedef _MatrixType Eigen::SparseLDLT< _MatrixType, Backend >::MatrixType |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 95 of file SparseExtra.
typedef NumTraits<typename _MatrixType::Scalar>::Real Eigen::SparseLDLT< _MatrixType, Backend >::RealScalar [protected] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 84 of file SparseExtra.
typedef _MatrixType::Scalar Eigen::SparseLDLT< _MatrixType, Backend >::Scalar [protected] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 83 of file SparseExtra.
typedef Matrix<Scalar,_MatrixType::ColsAtCompileTime,1> Eigen::SparseLDLT< _MatrixType, Backend >::VectorType [protected] |
Definition at line 86 of file SparseExtra.
anonymous enum [protected] |
Definition at line 88 of file SparseExtra.
| Eigen::SparseLDLT< _MatrixType, Backend >::SparseLDLT | ( | int | flags = 0 | ) | [inline] |
Creates a dummy LDLT factorization object with flags flags.
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 100 of file SparseExtra.
| Eigen::SparseLDLT< _MatrixType, Backend >::SparseLDLT | ( | const MatrixType & | matrix, |
| int | flags = 0 |
||
| ) | [inline] |
Creates a LDLT object and compute the respective factorization of matrix using flags flags.
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 109 of file SparseExtra.
| bool Eigen::SparseLDLT< _MatrixType, Backend >::_numeric | ( | const MatrixType & | matrix | ) |
Perform the actual factorization using the previously computed symbolic factorization.
Definition at line 306 of file SparseExtra.
| void Eigen::SparseLDLT< _MatrixType, Backend >::_symbolic | ( | const MatrixType & | matrix | ) |
Perform a symbolic factorization.
Definition at line 242 of file SparseExtra.
| Index Eigen::SparseLDLT< _MatrixType, Backend >::cols | ( | void | ) | const [inline] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 177 of file SparseExtra.
| void Eigen::SparseLDLT< _MatrixType, Backend >::compute | ( | const MatrixType & | matrix | ) |
Computes/re-computes the LDLT factorization.
Computes / recomputes the LDLT decomposition of matrix a using the default algorithm.
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 235 of file SparseExtra.
| const VectorType& Eigen::SparseLDLT< _MatrixType, Backend >::diag | ( | ) | const [inline] |
Definition at line 180 of file SparseExtra.
| int Eigen::SparseLDLT< _MatrixType, Backend >::flags | ( | ) | const [inline] |
Definition at line 149 of file SparseExtra.
| const CholMatrixType& Eigen::SparseLDLT< _MatrixType, Backend >::matrixL | ( | void | ) | const [inline] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 161 of file SparseExtra.
| RealScalar Eigen::SparseLDLT< _MatrixType, Backend >::precision | ( | ) | const [inline] |
| Index Eigen::SparseLDLT< _MatrixType, Backend >::rows | ( | void | ) | const [inline] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 178 of file SparseExtra.
| void Eigen::SparseLDLT< _MatrixType, Backend >::setPrecision | ( | RealScalar | v | ) | [inline] |
Sets the relative threshold value used to prune zero coefficients during the decomposition.
Setting a value greater than zero speeds up computation, and yields to an imcomplete factorization with fewer non zero coefficients. Such approximate factors are especially useful to initialize an iterative solver.
Note that the exact meaning of this parameter might depends on the actual backend. Moreover, not all backends support this feature.
Definition at line 130 of file SparseExtra.
| void Eigen::SparseLDLT< _MatrixType, Backend >::settags | ( | int | f | ) | [inline] |
Sets the flags.
Possible values are:
Definition at line 147 of file SparseExtra.
| const internal::solve_retval<SparseLDLT<MatrixType>, Rhs> Eigen::SparseLDLT< _MatrixType, Backend >::solve | ( | const MatrixBase< Rhs > & | b | ) | const [inline] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 171 of file SparseExtra.
| bool Eigen::SparseLDLT< _MatrixType, Backend >::solveInPlace | ( | MatrixBase< Derived > & | b | ) | const |
Computes b = L^-T D^-1 L^-1 b.
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 393 of file SparseExtra.
| bool Eigen::SparseLDLT< _MatrixType, Backend >::succeeded | ( | void | ) | const [inline] |
Reimplemented in Eigen::SparseLDLT< _MatrixType, Cholmod >.
Definition at line 183 of file SparseExtra.
| VectorType Eigen::SparseLDLT< _MatrixType, Backend >::vectorD | ( | void | ) | const [inline] |
Definition at line 164 of file SparseExtra.
VectorType Eigen::SparseLDLT< _MatrixType, Backend >::m_diag [protected] |
Definition at line 187 of file SparseExtra.
int Eigen::SparseLDLT< _MatrixType, Backend >::m_flags [protected] |
Definition at line 194 of file SparseExtra.
CholMatrixType Eigen::SparseLDLT< _MatrixType, Backend >::m_matrix [protected] |
Definition at line 186 of file SparseExtra.
VectorXi Eigen::SparseLDLT< _MatrixType, Backend >::m_nonZerosPerCol [protected] |
Definition at line 189 of file SparseExtra.
PermutationMatrix<Dynamic> Eigen::SparseLDLT< _MatrixType, Backend >::m_P [protected] |
Definition at line 191 of file SparseExtra.
VectorXi Eigen::SparseLDLT< _MatrixType, Backend >::m_parent [protected] |
Definition at line 188 of file SparseExtra.
PermutationMatrix<Dynamic> Eigen::SparseLDLT< _MatrixType, Backend >::m_Pinv [protected] |
Definition at line 192 of file SparseExtra.
RealScalar Eigen::SparseLDLT< _MatrixType, Backend >::m_precision [protected] |
Definition at line 193 of file SparseExtra.
int Eigen::SparseLDLT< _MatrixType, Backend >::m_status [mutable, protected] |
Definition at line 195 of file SparseExtra.
bool Eigen::SparseLDLT< _MatrixType, Backend >::m_succeeded [protected] |
Definition at line 196 of file SparseExtra.
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |