Constructor

NumCosmoMathFitMCnew

Declaration [src]

NcmFitMC*
ncm_fit_mc_new (
  NcmFit* fit,
  NcmFitMCResampleType rtype,
  NcmFitRunMsgs mtype
)

Description [src]

Creates a new NcmFitMC object with the fit object fit, the resample type rtype and the run messages type mtype.

Parameters

fit

Type: NcmFit

A NcmFit.

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

Type: NcmFitMCResampleType

A NcmFitMCResampleType.

mtype

Type: NcmFitRunMsgs

A NcmFitRunMsgs.

Return value

Type: NcmFitMC

A new NcmFitMC.

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