Constructor

NumCosmoMathFitESMCMCnew

Declaration [src]

NcmFitESMCMC*
ncm_fit_esmcmc_new (
  NcmFit* fit,
  guint nwalkers,
  NcmMSetTransKern* sampler,
  NcmFitESMCMCWalker* walker,
  NcmFitRunMsgs mtype
)

Description [src]

Creates a new NcmFitESMCMC object using the given parameters.

Parameters

fit

Type: NcmFit

A NcmFit.

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

Type: guint

Number of walkers.

sampler

Type: NcmMSetTransKern

Inital points sampler NcmMSetTransKern.

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

Type: NcmFitESMCMCWalker

A NcmFitESMCMCWalker.

The argument can be NULL.
The data is owned by the caller of the function.
mtype

Type: NcmFitRunMsgs

A NcmFitRunMsgs.

Return value

Type: NcmFitESMCMC

The newly created NcmFitESMCMC object.

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