Constructor

NumCosmoMathLHRatio1dnew

Declaration [src]

NcmLHRatio1d*
ncm_lh_ratio1d_new (
  NcmFit* fit,
  const NcmMSetPIndex* pi
)

Description [src]

Creates a new NcmLHRatio1d object. The parameter pi must be a free parameter of the model mid.

Parameters

fit

Type: NcmFit

A NcmFit.

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

Type: NcmMSetPIndex

A NcmMSetPIndex.

The data is owned by the caller of the function.

Return value

Type: NcmLHRatio1d

A NcmLHRatio1d.

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