Top | ![]() |
![]() |
![]() |
![]() |
NcmFitESMCMCWalkerStretchNcmFitESMCMCWalkerStretch — Ensemble sampler Markov Chain Monte Carlo walker - stretch move. |
Functions
Functions
ncm_fit_esmcmc_walker_stretch_new ()
NcmFitESMCMCWalkerStretch * ncm_fit_esmcmc_walker_stretch_new (guint nwalkers
,guint nparams
);
Creates a new NcmFitESMCMCWalkerStretch to be used
with nwalkers
.
ncm_fit_esmcmc_walker_stretch_set_scale ()
void ncm_fit_esmcmc_walker_stretch_set_scale (NcmFitESMCMCWalkerStretch *stretch
,const gdouble a
);
Sets the value of the scale $a > 1$.
ncm_fit_esmcmc_walker_stretch_get_scale ()
gdouble
ncm_fit_esmcmc_walker_stretch_get_scale
(NcmFitESMCMCWalkerStretch *stretch
);
Gets the value of the scale $a > 1$.
ncm_fit_esmcmc_walker_stretch_set_box ()
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.
ncm_fit_esmcmc_walker_stretch_set_box_mset ()
void ncm_fit_esmcmc_walker_stretch_set_box_mset (NcmFitESMCMCWalkerStretch *stretch
,NcmMSet *mset
);
Sets box sampling for the parameters using bounds from
mset
.
ncm_fit_esmcmc_walker_stretch_multi ()
void ncm_fit_esmcmc_walker_stretch_multi (NcmFitESMCMCWalkerStretch *stretch
,gboolean multi
);
Sets whether it should use multi-stretchs in a single step.