1 #ifndef SRC_INVERSION_MCMC_HPP_
2 #define SRC_INVERSION_MCMC_HPP_
27 void _choldc(
double **
a,
int n,
double *
p);
33 int _acor(
double *mean,
double *sigma,
double *tau,
double *
X,
int L);
81 int include_last =
false);
115 void mcmc_walk_move(
double *newp,
double **oldp,
int k,
int nwalker,
int np,
double(* ObjectiveFunction_t)(double *, double *, int, int, void *)
void mcmc_statistics(double *mean, double *sigma, double *tau, mcmc_recs *recs)
void mcmc_append_recs(mcmc_recs *dst, mcmc_recs *src)
void _choldc(double **a, int n, double *p)
void mcmc_advance(ObjectiveFunction_t lnprob, mcmc_opts *opts, mcmc_recs *recs, void *obj)
void mcmc_report(mcmc_opts *opts, mcmc_recs *recs, char const *mode)
void mcmc_init(ObjectiveFunction_t lnprob, double **par, mcmc_opts *opts, mcmc_recs *recs, void *obj)
void mcmc_free(mcmc_recs *recs)
int _acor(double *mean, double *sigma, double *tau, double *X, int L)
void mcmc_alloc(mcmc_recs *recs, int nstep, int nwalker, int ndim, int nvalue)
void mcmc_load_fits(char const *fname, mcmc_opts *opts, mcmc_recs *recs, int alloc=true)
void mcmc_walk_move(double *newp, double **oldp, int k, int nwalker, int np, mcmc_opts *opts)
double mcmc_stretch_move(double *newp, double **oldp, int iwalker, int nwalker, int ndim, mcmc_opts *opts)
void mcmc_save_fits(char const *fname, mcmc_opts *opts, mcmc_recs *recs, int include_last=false)