num::markov::metropolis_sweep_prob¶
Defined in header <stochastic/detail/mcmc_impl.hpp>
template <typename ProbFn, std::invocable<idx> Apply,
std::uniform_random_bit_generator RNG>
metropolis_stats metropolis_sweep_prob(idx n_sites, ProbFn acceptance_prob,
Apply apply_flip, RNG &rng);
Make one Metropolis sweep with tabulated acceptance probabilities prob(i).