Constructor

NumCosmoMathPriorGaussFuncnew

Declaration [src]

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

Description [src]

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

Parameters

mean_func

Type: NcmMSetFunc

A NcmMSetFunc.

The data is owned by the caller of the function.
mu

Type: gdouble

Mean.

sigma

Type: gdouble

Standard deviation.

var

Type: gdouble

Variable.

Return value

Type: NcmPriorGaussFunc

pgf.

The caller of the function takes ownership of the data, and is responsible for freeing it.