Method

NumCosmoMathLikelihooddup

Declaration [src]

NcmLikelihood*
ncm_likelihood_dup (
  NcmLikelihood* lh,
  NcmSerialize* ser
)

Description [src]

Duplicates the object and all of its content.

Parameters

ser

Type: NcmSerialize

A NcmSerialize.

The data is owned by the caller of the method.

Return value

Type: NcmLikelihood

A duplicate of lh.

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