Method

NumCosmoMathSplineFuncTestsave_grid_functions_to_txt

Declaration [src]

void
ncm_spline_func_test_save_grid_functions_to_txt (
  NcmSplineFuncTest* sft,
  gchar* fname
)

Description [src]

Saves one grid functions in the text fname file. The colums are: - $x$. - the base function $f(x)$. - the NcmSplineFunc estimation of $f(x)$. - the linear grid estimation of $f(x)$ with the same number of knots as the NcmSplineFunc.

It must be called after ncm_spline_func_test_set_one_grid_stats(). .

Parameters

fname

Type: gchar*

Text file name to save one grid informations.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.