Constructor

NumCosmoMathLikelihoodnew

Declaration [src]

NcmLikelihood*
ncm_likelihood_new (
  NcmDataset* dset
)

Description [src]

Creates a new NcmLikelihood for the given NcmDataset.

Parameters

dset

Type: NcmDataset

A NcmDataset.

The data is owned by the caller of the function.

Return value

Type: NcmLikelihood

A new NcmLikelihood.

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