NcmFitESMCMCWalkerWalk

NcmFitESMCMCWalkerWalk — Ensemble sampler Markov Chain Monte Carlo walker - walk move.

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

double scale Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmFitESMCMCWalker
        ╰── NcmFitESMCMCWalkerWalk

Description

Implementing walk move walker for NcmFitESMCMC (affine invariant).

Functions

ncm_fit_esmcmc_walker_walk_new ()

NcmFitESMCMCWalkerWalk *
ncm_fit_esmcmc_walker_walk_new (guint nwalkers);

Creates a new NcmFitESMCMCWalkerWalk to be used with nwalkers .

Parameters

nwalkers

number of walkers

 

Returns

a new NcmFitESMCMCWalkerWalk.

[transfer full]


ncm_fit_esmcmc_walker_walk_set_scale ()

void
ncm_fit_esmcmc_walker_walk_set_scale (NcmFitESMCMCWalkerWalk *walk,
                                      const gdouble a);

Sets the value of the scale $a > 1$.

Parameters

walk

a NcmFitESMCMCWalkerWalk

 

a

new scale $a > 1$

 

ncm_fit_esmcmc_walker_walk_get_scale ()

gdouble
ncm_fit_esmcmc_walker_walk_get_scale (NcmFitESMCMCWalkerWalk *walk);

Gets the value of the scale $a > 1$.

Parameters

Returns

current value of $a$.

Types and Values

NCM_TYPE_FIT_ESMCMC_WALKER_WALK

#define NCM_TYPE_FIT_ESMCMC_WALKER_WALK (ncm_fit_esmcmc_walker_walk_get_type ())

NcmFitESMCMCWalkerWalk

typedef struct _NcmFitESMCMCWalkerWalk NcmFitESMCMCWalkerWalk;

Property Details

The “scale” property

  “scale”                    double

Walk scale a.

Owner: NcmFitESMCMCWalkerWalk

Flags: Read / Write / Construct

Allowed values: >= 0.01

Default value: 0.2