Public Types |
| enum | |
| enum | { UpLo
} |
typedef SimplicialCholeskyBase
< SimplicialLDLt > | Base |
typedef SparseMatrix< Scalar,
ColMajor, Index > | CholMatrixType |
| typedef MatrixType::Index | Index |
| typedef Traits::MatrixL | MatrixL |
| typedef _MatrixType | MatrixType |
| typedef Traits::MatrixU | MatrixU |
| typedef MatrixType::RealScalar | RealScalar |
| typedef MatrixType::Scalar | Scalar |
typedef internal::traits
< SimplicialLDLt > | Traits |
typedef Matrix< Scalar,
Dynamic, 1 > | VectorType |
Public Member Functions |
| void | analyzePattern (const MatrixType &a) |
| Index | cols () const |
SimplicialLDLt< _MatrixType,
_UpLo > & | compute (const MatrixType &matrix) |
SimplicialLDLt< _MatrixType,
_UpLo > & | derived () |
const SimplicialLDLt
< _MatrixType, _UpLo > & | derived () const |
| Scalar | determinant () const |
| void | factorize (const MatrixType &a) |
| ComputationInfo | info () const |
| | Reports whether previous computation was successful.
|
| const MatrixL | matrixL () const |
| const MatrixU | matrixU () const |
const PermutationMatrix
< Dynamic, Dynamic, Index > & | permutationP () const |
const PermutationMatrix
< Dynamic, Dynamic, Index > & | permutationPinv () const |
| Index | rows () const |
SimplicialLDLt< _MatrixType,
_UpLo > & | setShift (const RealScalar &offset, const RealScalar &scale=1) |
| | SimplicialLDLt () |
| | SimplicialLDLt (const MatrixType &matrix) |
const internal::solve_retval
< SimplicialCholeskyBase, Rhs > | solve (const MatrixBase< Rhs > &b) const |
const
internal::sparse_solve_retval
< SimplicialCholeskyBase, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
| const VectorType | vectorD () const |
Protected Member Functions |
| void | analyzePattern (const MatrixType &a, bool doLDLt) |
Protected Attributes |
| bool | m_analysisIsOk |
| VectorType | m_diag |
| bool | m_factorizationIsOk |
| ComputationInfo | m_info |
| bool | m_isInitialized |
| CholMatrixType | m_matrix |
| VectorXi | m_nonZerosPerCol |
PermutationMatrix< Dynamic,
Dynamic, Index > | m_P |
| VectorXi | m_parent |
PermutationMatrix< Dynamic,
Dynamic, Index > | m_Pinv |
| RealScalar | m_shiftOffset |
| RealScalar | m_shiftScale |
template<typename _MatrixType, int _UpLo>
class Eigen::SimplicialLDLt< _MatrixType, _UpLo >
A direct sparse LDLt Cholesky factorizations without square root.
This class provides a LDL^T Cholesky factorizations without square root of sparse matrices that are selfadjoint and positive definite. The factorization allows for solving A.X = B where X and B can be either dense or sparse.
- Template Parameters:
-
| _MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
| _UpLo | the triangular part that will be used for the computations. It can be Lower or Upper. Default is Lower. |
- See also:
- class SimplicialLLt