Skip to content

num::randommat::grounded_approxchol_factor

Defined in header <linear/graph/randommat/preconditioner.hpp>

template <detail::gks_2023_algorithm Algorithm>
grounded_approx_chol_factor grounded_approxchol_factor(const spmat &A,
                                                       Algorithm algorithm,
                                                       std::uint64_t seed = 42);

Construct a sparse approximate factor of a symmetric diagonally dominant M-matrix by adding one ground vertex for the diagonal excess.