|
numerics 0.1.0
|
Template implementations for stochastic/mcmc.hpp. Included at the bottom of mcmc.hpp – do not include directly. More...
Go to the source code of this file.
Namespaces | |
| namespace | num |
| namespace | num::markov |
Functions | |
| template<typename DeltaE , typename Apply , typename RNG > | |
| MetropolisStats | num::markov::metropolis_sweep (idx n_sites, DeltaE delta_energy, Apply apply_flip, real beta, RNG &rng) |
| Single Metropolis sweep: n_sites random single-site updates. | |
| template<typename ProbFn , typename Apply , typename RNG > | |
| MetropolisStats | num::markov::metropolis_sweep_prob (idx n_sites, ProbFn acceptance_prob, Apply apply_flip, RNG &rng) |
| Metropolis sweep with caller-supplied acceptance probabilities. | |
| template<typename DeltaE , typename Apply , typename Save , typename Restore , typename Measure , typename RNG > | |
| UmbrellaStats | num::markov::umbrella_sweep (idx n_sites, DeltaE delta_energy, Apply apply_flip, Save save_state, Restore restore_state, Measure measure_order, UmbrellaWindow window, real beta, RNG &rng) |
| Umbrella-sampled Metropolis sweep (dE variant). | |
| template<typename ProbFn , typename Apply , typename Save , typename Restore , typename Measure , typename RNG > | |
| UmbrellaStats | num::markov::umbrella_sweep_prob (idx n_sites, ProbFn acceptance_prob, Apply apply_flip, Save save_state, Restore restore_state, Measure measure_order, UmbrellaWindow window, RNG &rng) |
| Umbrella-sampled Metropolis sweep (precomputed probability variant). | |
Template implementations for stochastic/mcmc.hpp. Included at the bottom of mcmc.hpp – do not include directly.
Definition in file mcmc_impl.hpp.