Method

NumCosmoMathLikelihoodpriors_take

Declaration [src]

void
ncm_likelihood_priors_take (
  NcmLikelihood* lh,
  NcmPrior* prior
)

Description [src]

Adds a NcmPrior to the NcmLikelihood and takes ownership of the object.

Parameters

lh

Type: NcmLikelihood

A NcmLikelihood.

The instance takes ownership of the data, and is responsible for freeing it.
prior

Type: NcmPrior

A NcmPrior.

The data is owned by the caller of the method.