Constructor

NumCosmoMathMSetCatalognew

Declaration [src]

NcmMSetCatalog*
ncm_mset_catalog_new (
  NcmMSet* mset,
  guint nadd_vals,
  guint nchains,
  gboolean weighted,
  ...
)

Description [src]

Creates a new NcmMSetCatalog based on the NcmFit object fit. The catalog assumes that the fit object will remain with the same set of free parameters during its whole lifetime.

If nchains is larger than one, the catalog will keep track of the statistics of each chain separately.

This constructor is not directly available to language bindings.

Parameters

mset

Type: NcmMSet

A NcmMSet.

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

Type: guint

Number of additional values.

nchains

Type: guint

Number of different chains in the catalog (>=1).

weighted

Type: gboolean

Set to TRUE whenever the catalog is weighted.

...

Type: 

Additional values name/symbol pairs.

Return value

Type: NcmMSetCatalog

A new NcmMSetCatalog.

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