Constructor
NumCosmoMathFitNLOptnew
Declaration [src]
NcmFit*
ncm_fit_nlopt_new (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype,
NcmFitNloptAlgorithm 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:
NcmFitNloptAlgorithmA
NcmFitNloptAlgorithm.
Return value
Type: NcmFit
A new NcmFitNLOpt object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |