Constructor
NumCosmoMathFitNLOptlocal_new
Declaration [src]
NcmFit*
ncm_fit_nlopt_local_new (
NcmLikelihood* lh,
NcmMSet* mset,
NcmFitGradType gtype,
NcmFitNloptAlgorithm algo,
NcmFitNloptAlgorithm local_algo
)
Description [src]
Creates a new NcmFitNLOpt object using the specified algo and local_algo.
The local_algo is used to refine the solution found by 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. local_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. |