Method
NumCosmoMathFitcopy_new
Declaration [src]
NcmFit*
ncm_fit_copy_new (
NcmFit* fit,
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype
)
Parameters
lh-
Type:
NcmLikelihoodA
NcmLikelihood.The data is owned by the caller of the method. mset-
Type:
NcmMSetA
NcmMSet.The data is owned by the caller of the method. gtype-
Type:
NcmFitGradTypeA
NcmFitGradType.
Return value
Type: NcmFit
Copy of fit.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |