Constructor

NumCosmoMathPriorFlatParamnew

Declaration [src]

NcmPriorFlatParam*
ncm_prior_flat_param_new (
  NcmModel* model,
  guint pid,
  gdouble x_low,
  gdouble x_upp,
  gdouble scale
)

Description [src]

Creates a new Flat 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.

x_low

Type: gdouble

Parameter lower limit.

x_upp

Type: gdouble

Parameter upper limit.

scale

Type: gdouble

Parameter scale.

Return value

Type: NcmPriorFlatParam

pfp.

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