Constructor
NumCosmoMathFitGSLLSnew
Declaration [src]
NcmFit*
ncm_fit_gsl_ls_new (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype
)
Description [src]
Creates a new NcmFitGSLLS object with the given likelihood, model set and
gradient type.
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 NcmFitGSLLS object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |