Top |
NcmPrior * | ncm_prior_ref () |
void | ncm_prior_free () |
void | ncm_prior_clear () |
gboolean | ncm_prior_is_m2lnL () |
GObject ╰── NcmMSetFunc ╰── NcmPrior ├── NcHICosmoQRBFRprior ├── NcPriorQSplineCont ├── NcmPriorFlat ╰── NcmPriorGauss
This object defines a base class for priors used by NcmLikelihood. These objects describe various prior distributions applicable to parameters or any derived quantity. Two types of priors are supported:
Priors returning $-2\ln(L_\mathrm{prior})$
Priors returning $f$ such that $-2\ln(P_\mathrm{prior}) = f^2$
The second type is essential when conducting least-squares based analysis but can also be used in any other type of analysis.
NcmPrior *
ncm_prior_ref (NcmPrior *prior
);
Increases the reference count of prior
atomically.
void
ncm_prior_free (NcmPrior *prior
);
Decreases the reference count of prior
atomically.
void
ncm_prior_clear (NcmPrior **prior
);
Decreases the reference count of *prior
and sets *prior
to NULL.