Constructor

NumCosmoMathFitMCMCnew

Declaration [src]

NcmFitMCMC*
ncm_fit_mcmc_new (
  NcmFit* fit,
  NcmMSetTransKern* tkern,
  NcmFitRunMsgs mtype
)

Description [src]

Creates a new NcmFitMCMC object that will use the tkern transition kernel to generate the MCMC proposals.

Parameters

fit

Type: NcmFit

A NcmFit.

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

Type: NcmMSetTransKern

A NcmMSetTransKern.

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

Type: NcmFitRunMsgs

Messages type.

Return value

Type: NcmFitMCMC

A new NcmFitMCMC.

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