Top |
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.
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
.
NcmPriorFlatFunc *
ncm_prior_flat_func_ref (NcmPriorFlatFunc *pff
);
Increases the reference count of pff
atomically.
void
ncm_prior_flat_func_free (NcmPriorFlatFunc *pff
);
Decreases the reference count of pff
atomically.
void
ncm_prior_flat_func_clear (NcmPriorFlatFunc **pff
);
Decreases the reference count of *pff
and sets *pff
to NULL.
“mean-func”
property“mean-func” NcmMSetFunc *
mean function.
Owner: NcmPriorFlatFunc
Flags: Read / Write / Construct