#include "xf_fintech/pop_mcmc.hpp"
template < typename DT, unsigned int NCHAINS, unsigned int NSAMPLES_MAX > void McmcCore ( DT temp_inv [NCHAINS], DT sigma [NCHAINS], DT x [NSAMPLES_MAX], unsigned int nSamples )
Top level Kernel function. Consists of INIT_LOOP and main sample loop: SAMPLES_LOOP
Generates sample from target distribution function.
Uses multiple Markov Chains to allow drawing samples from multi mode target distribution functions.
Proposal is generated ussing Normal Distribution
.
Parameters:
| DT |
|
| NCHAINS |
|
| NSAMPLES_MAX |
|
| temp_inv |
|
| sigma |
|
| nSamples |
|
| x |
|