Method

NumCosmoMathFitdup

Declaration [src]

NcmFit*
ncm_fit_dup (
  NcmFit* fit,
  NcmSerialize* ser
)

Description [src]

Duplicates the NcmFit object duplicating all its contents.

Parameters

ser

Type: NcmSerialize

A NcmSerialize.

The data is owned by the caller of the method.

Return value

Type: NcmFit

Duplicate of fit.

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