Constructor
NumCosmoMathMSetCatalognew_array
Declaration [src]
NcmMSetCatalog*
ncm_mset_catalog_new_array (
NcmMSet* mset,
guint nadd_vals,
guint nchains,
gboolean weighted,
gchar** names,
gchar** symbols
)
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.
Parameters
mset-
Type:
NcmMSetA
NcmMSet.The data is owned by the caller of the function. nadd_vals-
Type:
guintNumber of additional values.
nchains-
Type:
guintNumber of different chains in the catalog (>=1).
weighted-
Type:
gbooleanSet to TRUE whenever the catalog is weighted.
names-
Type: An array of
gchar*Additional values name NULL-terminated array.
The array must be NULL-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. symbols-
Type: An array of
gchar*Additional values symbol NULL-terminated array.
The array must be NULL-terminated.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string.
Return value
Type: NcmMSetCatalog
A new NcmMSetCatalog.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |