Top |
NcmFit * | ncm_fit_nlopt_new () |
NcmFit * | ncm_fit_nlopt_local_new () |
void | ncm_fit_nlopt_set_algo () |
void | ncm_fit_nlopt_set_local_algo () |
NcmFit * | ncm_fit_nlopt_new_by_name () |
NcmFit * | ncm_fit_nlopt_new_default () |
NcmFitNloptAlgorithm | algorithm | Read / Write / Construct |
NcmFitNloptAlgorithm | local-algorithm | Read / Write |
NcmFit * ncm_fit_nlopt_new (NcmLikelihood *lh
,NcmMSet *mset
,NcmFitGradType gtype
,NcmFitNloptAlgorithm algo
);
Creates a new NcmFitNLOpt object using the specified algo
.
NcmFit * ncm_fit_nlopt_local_new (NcmLikelihood *lh
,NcmMSet *mset
,NcmFitGradType gtype
,NcmFitNloptAlgorithm algo
,NcmFitNloptAlgorithm local_algo
);
Creates a new NcmFitNLOpt object using the specified algo
and local_algo
.
The local_algo
is used to refine the solution found by algo
.
void ncm_fit_nlopt_set_algo (NcmFitNLOpt *fit_nlopt
,NcmFitNloptAlgorithm algo
);
Sets the algorithm to be used by fit_nlopt
.
void ncm_fit_nlopt_set_local_algo (NcmFitNLOpt *fit_nlopt
,NcmFitNloptAlgorithm algo
);
Sets the local algorithm to be used by fit_nlopt
. This algorithm is used to
refine the solution found by the main algorithm.
NcmFit * ncm_fit_nlopt_new_by_name (NcmLikelihood *lh
,NcmMSet *mset
,NcmFitGradType gtype
,gchar *algo_name
);
Creates a new NcmFitNLOpt object using the specified algo_name
.
lh |
||
mset |
a NcmMSet |
|
gtype |
||
algo_name |
a string containing the name of the algorithm to be used |
NcmFit * ncm_fit_nlopt_new_default (NcmLikelihood *lh
,NcmMSet *mset
,NcmFitGradType gtype
);
Creates a new NcmFitNLOpt object using the default algorithm.