NcmPriorGaussFunc

NcmPriorGaussFunc — a gaussian prior on a parameter.

Functions

Properties

NcmMSetFunc * mean-func Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmMSetFunc
        ╰── NcmPrior
            ╰── NcmPriorGauss
                ╰── NcmPriorGaussFunc

Description

This object is a subclass of NcmPriorGauss, specializing in a Gaussian prior on a derived quantity. The prior is characterized by a mean function, an optional function argument, and user-specified mean and standard deviation parameters.

Functions

ncm_prior_gauss_func_new ()

NcmPriorGaussFunc *
ncm_prior_gauss_func_new (NcmMSetFunc *mean_func,
                          gdouble mu,
                          gdouble sigma,
                          gdouble var);

Creates a new Gaussiam prior for parameter pid of model mid .

Parameters

mean_func

a NcmMSetFunc

 

mu

mean

 

sigma

standard deviation

 

var

variable

 

Returns

pgf .

[transfer full]


ncm_prior_gauss_func_ref ()

NcmPriorGaussFunc *
ncm_prior_gauss_func_ref (NcmPriorGaussFunc *pgf);

Increases the reference count of pgf atomically.

Parameters

Returns

pgf .

[transfer full]


ncm_prior_gauss_func_free ()

void
ncm_prior_gauss_func_free (NcmPriorGaussFunc *pgf);

Decreases the reference count of pgf atomically.

Parameters


ncm_prior_gauss_func_clear ()

void
ncm_prior_gauss_func_clear (NcmPriorGaussFunc **pgf);

Decreases the reference count of *pgf and sets *pgf to NULL.

Parameters

Types and Values

NCM_TYPE_PRIOR_GAUSS_FUNC

#define NCM_TYPE_PRIOR_GAUSS_FUNC (ncm_prior_gauss_func_get_type ())

NcmPriorGaussFunc

typedef struct _NcmPriorGaussFunc NcmPriorGaussFunc;

Property Details

The “mean-func” property

  “mean-func”                NcmMSetFunc *

mean function.

Owner: NcmPriorGaussFunc

Flags: Read / Write / Construct