Constructor
NumCosmoMathFitGSLMMSnew_default
Declaration [src]
NcmFit*
ncm_fit_gsl_mms_new_default (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype
)
Description [src]
Creates a new NcmFitGSLMMS object from the given likelihood, model set and
gradient type. The algorithm is set to the default one (#NCM_FIT_GSL_MMS_NMSIMPLEX2).
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 new NcmFitGSLMMS object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |