num::randommat::approxchol_preconditioner¶
Defined in header <linear/graph/randommat/preconditioner.hpp>
template <detail::gks_2023_algorithm Algorithm>
approx_chol_preconditioner approxchol_preconditioner(const adjacency_list<real, idx> &G,
Algorithm algorithm,
std::uint64_t seed = 42); // (1)
template <typename Weight, std::integral Index, detail::gks_2023_algorithm Algorithm>
approx_chol_preconditioner approxchol_preconditioner(const graph<Weight, Index> &G,
Algorithm algorithm,
std::uint64_t seed = 42); // (2)
template <typename Weight, std::integral Index, detail::gks_2023_algorithm Algorithm>
approx_chol_preconditioner
approxchol_preconditioner(const structures::multigraph<Weight, Index> &mg,
Algorithm algorithm, std::uint64_t seed = 42); // (3)
template <detail::gks_2023_algorithm Algorithm>
approx_chol_preconditioner
approxchol_preconditioner(const spmat &L, Algorithm algorithm, std::uint64_t seed = 42); // (4)
(1) Construct ApproxChol preconditioner from a randommat::adjacency_list.
(2) Construct ApproxChol preconditioner from a num::graph.
(3) Construct ApproxChol preconditioner from a num::multigraph.
(4) Construct ApproxChol preconditioner from a Laplacian spmat.