|
numerics 0.1.0
|
sample(model, sampler, rng): the stochastic-sampling verb (MCMC), the counterpart to solve() for targets that are sampled rather than solved. More...
Go to the source code of this file.
Classes | |
| struct | num::MCMCModel |
| An MCMC target: site count, per-site acceptance/proposal, observable. More... | |
Namespaces | |
| namespace | num |
Functions | |
| template<IsMCMCAlg A, typename RNG > | |
| double | num::sample (const MCMCModel &model, const A &alg, RNG &rng) |
| Run equilibration then measurement sweeps; return the mean observable. | |
sample(model, sampler, rng): the stochastic-sampling verb (MCMC), the counterpart to solve() for targets that are sampled rather than solved.
Definition in file sample.hpp.