Constructor

NumCosmoMathLHRatio2dnew

Declaration [src]

NcmLHRatio2d*
ncm_lh_ratio2d_new (
  NcmFit* fit,
  const NcmMSetPIndex* pi1,
  const NcmMSetPIndex* pi2,
  gdouble border_prec
)

Description [src]

Creates a new NcmLHRatio2d object. The parameters pi1 and pi2 must be parameters of the model set of fit.

Parameters

fit

Type: NcmFit

A NcmFit.

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

Type: NcmMSetPIndex

A NcmMSetPIndex for the first parameter.

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

Type: NcmMSetPIndex

A NcmMSetPIndex for the second parameter.

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

Type: gdouble

Precision on the border finder.

Return value

Type: NcmLHRatio2d

A new NcmLHRatio2d.

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