|
| std::size_t | num_rows () const |
| std::size_t | num_cols () const |
| const util::csc_matrix< Value > & | factorL () const |
| | Read-only access to the unit lower factor L (CSC) and the diagonal D.
|
| const std::vector< Value > & | diagonal () const |
| void | set_factor (util::csc_matrix< Value > L, std::vector< Value > D) |
| | Install the factor (unit lower L, diagonal D) and (re)build the coupled unit forward and transpose solve schedules from L.
|
| template<typename Accumulator = void, typename VecX, typename VecB> |
| void | solve (VecX &x, const VecB &b) const |
| | Solve A*x = b using the LDL^T factorization.
|
template<typename Value>
struct mtl::sparse::factorization::ldlt_numeric< Value >
Result of numeric LDL^T factorization.
Contains the unit lower triangular factor L in CSC format, the diagonal D, and the symbolic analysis (for permutation during solve).
Install the factor (unit lower L, diagonal D) and (re)build the coupled unit forward and transpose solve schedules from L.
L, D and the schedules are always set together, so the schedules' cached structure always matches L's pattern. Strongly exception safe: the schedules are built into locals before any member is replaced.
Precondition: the symbolic analysis (symbolic) MUST be installed first – set_factor validates L and D against symbolic.n. Calling it while symbolic is still default-constructed (n == 0) with a non-empty factor throws (see the guard below), rather than silently accepting a factor that no later solve could use.
template<typename Value>
template<typename Accumulator = void, typename VecX, typename VecB>
Solve A*x = b using the LDL^T factorization.
A = P^T L D L^T P, so x = P^T L^{-T} D^{-1} L^{-1} P b Accumulator (default void, leading as in the numeric phase) selects the accumulator policy of the triangular-solve row reductions (#535): void is the raw Value loop; see level_schedule.hpp for the contract.