Constructor
NumCosmoMathFitLevmarnew
Declaration [src]
NcmFit*
ncm_fit_levmar_new (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype,
NcmFitLevmarAlgos algo
)
Description [src]
Creates a new NcmFitLevmar object from the given likelihood, model set, gradient
type and algorithm.
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:
NcmFitLevmarAlgosA
NcmFitLevmarAlgos.
Return value
Type: NcmFit
A NcmFitLevmar.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |