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);

Compute an approximate Cholesky factor of an SDDM matrix via a ground vertex: \(A \approx C C^T\).