Constructor
NumCosmoMathFitGSLMMnew
Declaration [src]
NcmFit*
ncm_fit_gsl_mm_new (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype,
NcmFitGSLMMAlgos algo
)
Description [src]
Creates a new NcmFitGSLMM object with the given likelihood, model set and
gradient type. The algorithm to be used is specified by algo.
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. algo-
Type:
NcmFitGSLMMAlgosA
NcmFitGSLMMAlgos.
Return value
Type: NcmFit
A new NcmFitGSLMM object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |