NcmPriorFlatFunc

NcmPriorFlatFunc — flat prior on a derived quantity.

Functions

Properties

NcmMSetFunc * mean-func Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── NcmMSetFunc
        ╰── NcmPrior
            ╰── NcmPriorFlat
                ╰── NcmPriorFlatFunc

Description

This object subclasses NcmPriorFlat and defines a flat prior on a derived quantity. The prior is characterized by a mean function, an optional function argument, and specified lower and upper limits, along with the scale of the prior.

Functions

ncm_prior_flat_func_new ()

NcmPriorFlatFunc *
ncm_prior_flat_func_new (NcmMSetFunc *mean_func,
                         gdouble x_low,
                         gdouble x_upp,
                         gdouble scale,
                         gdouble variable);

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

Parameters

mean_func

a NcmMSetFunc

 

x_low

lower limit

 

x_upp

upper limit

 

scale

scale

 

variable

variable

 

Returns

pff .

[transfer full]


ncm_prior_flat_func_ref ()

NcmPriorFlatFunc *
ncm_prior_flat_func_ref (NcmPriorFlatFunc *pff);

Increases the reference count of pff atomically.

Parameters

pff

a NcmPriorFlatFunc

 

Returns

pff .

[transfer full]


ncm_prior_flat_func_free ()

void
ncm_prior_flat_func_free (NcmPriorFlatFunc *pff);

Decreases the reference count of pff atomically.

Parameters

pff

a NcmPriorFlatFunc

 

ncm_prior_flat_func_clear ()

void
ncm_prior_flat_func_clear (NcmPriorFlatFunc **pff);

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

Parameters

pff

a NcmPriorFlatFunc

 

Types and Values

NCM_TYPE_PRIOR_FLAT_FUNC

#define NCM_TYPE_PRIOR_FLAT_FUNC (ncm_prior_flat_func_get_type ())

NcmPriorFlatFunc

typedef struct _NcmPriorFlatFunc NcmPriorFlatFunc;

Property Details

The “mean-func” property

  “mean-func”                NcmMSetFunc *

mean function.

Owner: NcmPriorFlatFunc

Flags: Read / Write / Construct