Function
NumCosmoMathFitfactory
Declaration [src]
NcmFit*
ncm_fit_factory (
NcmFitType ftype,
gchar* algo_name,
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype
)
Parameters
ftype-
Type:
NcmFitTypeA
NcmFitType. algo_name-
Type:
gchar*Name of the algorithm to be used.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. 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 NcmFit object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |