Method
NumCosmoMathFitrun_restart
Declaration [src]
gboolean
ncm_fit_run_restart (
NcmFit* fit,
NcmFitRunMsgs mtype,
const gdouble abstol,
const gdouble reltol,
NcmMSet* save_mset,
const gchar* mset_file
)
Description [src]
Re-runs the fit until the difference between fits are less than the required tolerance, i.e., $$ m2lnL_{i-1} - m2lnL_i < \mathrm{abstol} + \mathrm{reltol}\vert m2lnL_{i-1}\vert. $$.
Parameters
mtype-
Type:
NcmFitRunMsgsA
NcmFitRunMsgs. abstol-
Type:
const gdoubleRestart absolute tolerance.
reltol-
Type:
const gdoubleRestart relative tolerance.
save_mset-
Type:
NcmMSetThe
NcmMSetused to save progress.The argument can be NULL.The data is owned by the caller of the method. mset_file-
Type:
const gchar*The file name to save progress.
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.