Constructor
NumCosmoMathFitLevmarnew_by_name
Declaration [src]
NcmFit*
ncm_fit_levmar_new_by_name (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype,
gchar* algo_name
)
Description [src]
Creates a new NcmFitLevmar object from the given likelihood, model set, gradient
type and algorithm name. If the algorithm name is NULL, the default one
(#NCM_FIT_LEVMAR_DIF) is used.
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_name-
Type:
gchar*A string containing the name of the algorithm to be used.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: NcmFit
A NcmFitLevmar.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |