NcmPriorGaussParam

NcmPriorGaussParam — a gaussian prior on a parameter

Properties

int mid Read / Write / Construct
guint pid Read / Write / Construct

Object Hierarchy

    GObject
    ╰── NcmMSetFunc
        ╰── NcmPrior
            ╰── NcmPriorGauss
                ╰── NcmPriorGaussParam

Description

FIXME

Functions

ncm_prior_gauss_param_new ()

NcmPriorGaussParam *
ncm_prior_gauss_param_new (NcmModelID mid,
                           guint pid,
                           gdouble mu,
                           gdouble sigma);

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

Parameters

mid

model id

 

pid

parameter id

 

mu

mean

 

sigma

standard deviation

 

Returns

pgp .

[transfer full]


ncm_prior_gauss_param_new_pindex ()

NcmPriorGaussParam *
ncm_prior_gauss_param_new_pindex (const NcmMSetPIndex *pi,
                                  gdouble mu,
                                  gdouble sigma);

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

Parameters

pi

a NcmMSetPIndex

 

mu

mean

 

sigma

standard deviation

 

Returns

pgp .

[transfer full]


ncm_prior_gauss_param_new_name ()

NcmPriorGaussParam *
ncm_prior_gauss_param_new_name (NcmMSet *mset,
                                const gchar *name,
                                gdouble mu,
                                gdouble sigma);

Creates a new Gaussian prior for parameter named name in mset .

Parameters

mset

a NcmMSet

 

name

parameter name

 

mu

mean

 

sigma

standard deviation

 

Returns

pgp .

[transfer full]


ncm_prior_gauss_param_ref ()

NcmPriorGaussParam *
ncm_prior_gauss_param_ref (NcmPriorGaussParam *pgp);

Increases the reference count of pgp atomically.

Parameters

Returns

pgp .

[transfer full]


ncm_prior_gauss_param_free ()

void
ncm_prior_gauss_param_free (NcmPriorGaussParam *pgp);

Decreases the reference count of pgp atomically.

Parameters


ncm_prior_gauss_param_clear ()

void
ncm_prior_gauss_param_clear (NcmPriorGaussParam **pgp);

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

Parameters

Property Details

The “mid” property

  “mid”                      int

model id.

Owner: NcmPriorGaussParam

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0


The “pid” property

  “pid”                      guint

parameter id.

Owner: NcmPriorGaussParam

Flags: Read / Write / Construct

Default value: 0