Constructor

NumCosmoMathPriorGaussParamnew

Declaration [src]

NcmPriorGaussParam*
ncm_prior_gauss_param_new (
  NcmModel* model,
  guint pid,
  gdouble mu,
  gdouble sigma
)

Description [src]

Creates a new Gaussian prior for parameter pid of model.

Parameters

model

Type: NcmModel

A NcmModel.

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

Type: guint

Parameter id.

mu

Type: gdouble

Mean.

sigma

Type: gdouble

Standard deviation.

Return value

Type: NcmPriorGaussParam

pgp.

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