Method
NumCosmoMathFitfunction_error
Declaration [src]
void
ncm_fit_function_error (
NcmFit* fit,
NcmMSetFunc* func,
gdouble* x,
gdouble* f,
gdouble* sigma_f
)
Description [src]
Propagates the errors in the free parameters to the function func.
If no free parameters are set in the NcmMSet object associated to the
fit object, the computed error is 0.
Note that the covariance matrix must be calculated before calling this function. Otherwise, it will raise an error.
Parameters
func-
Type:
NcmMSetFuncA
NcmMSetFunc.The data is owned by the caller of the method. x-
Type:
gdouble*The argument for the function.
The data is owned by the caller of the method. f-
Type:
gdouble*The function value.
The argument will be set by the function. sigma_f-
Type:
gdouble*The error in the function value.
The argument will be set by the function.