Constructor
NumCosmoMathFitLevmarnew_default
Declaration [src]
NcmFit*
ncm_fit_levmar_new_default (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype
)
Description [src]
Creates a new NcmFitLevmar object from the given likelihood, model set and
gradient type. The algorithm used is the default one (#NCM_FIT_LEVMAR_DIF).
Parameters
lh-
Type:
NcmLikelihoodA
NcmLikelihood.The data is owned by the caller of the function. mset-
Type:
NcmMSetA
NcmMSet.The data is owned by the caller of the function. gtype-
Type:
NcmFitGradTypeA
NcmFitGradType.
Return value
Type: NcmFit
A NcmFitLevmar.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |