Constructor

NumCosmoMathPriorFlatFuncnew

Declaration [src]

NcmPriorFlatFunc*
ncm_prior_flat_func_new (
  NcmMSetFunc* mean_func,
  gdouble x_low,
  gdouble x_upp,
  gdouble scale,
  gdouble variable
)

Description [src]

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

Parameters

mean_func

Type: NcmMSetFunc

A NcmMSetFunc.

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

Type: gdouble

Lower limit.

x_upp

Type: gdouble

Upper limit.

scale

Type: gdouble

Scale.

variable

Type: gdouble

Variable.

Return value

Type: NcmPriorFlatFunc

pff.

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