Top |
NcmFitESMCMCWalkerStretchNcmFitESMCMCWalkerStretch — Ensemble sampler Markov Chain Monte Carlo walker - stretch move. |
NcmFitESMCMCWalkerStretch * ncm_fit_esmcmc_walker_stretch_new (guint nwalkers
,guint nparams
);
Creates a new NcmFitESMCMCWalkerStretch to be used
with nwalkers
.
void ncm_fit_esmcmc_walker_stretch_set_scale (NcmFitESMCMCWalkerStretch *stretch
,const gdouble a
);
Sets the value of the scale $a > 1$.
gdouble
ncm_fit_esmcmc_walker_stretch_get_scale
(NcmFitESMCMCWalkerStretch *stretch
);
Gets the value of the scale $a > 1$.
void ncm_fit_esmcmc_walker_stretch_set_box (NcmFitESMCMCWalkerStretch *stretch
,guint n
,const gdouble lb
,const gdouble ub
);
Sets box sampling for the n
-th parameter using lb
as lower bound
and ub
as upper bound.
void ncm_fit_esmcmc_walker_stretch_set_box_mset (NcmFitESMCMCWalkerStretch *stretch
,NcmMSet *mset
);
Sets box sampling for the parameters using bounds from
mset
.
void ncm_fit_esmcmc_walker_stretch_multi (NcmFitESMCMCWalkerStretch *stretch
,gboolean multi
);
Sets whether it should use multi-stretchs in a single step.
#define NCM_TYPE_FIT_ESMCMC_WALKER_STRETCH (ncm_fit_esmcmc_walker_stretch_get_type ())