Method

NumCosmoMathSplineFuncTestmonte_carlo_and_save_to_txt

Declaration [src]

void
ncm_spline_func_test_monte_carlo_and_save_to_txt (
  NcmSplineFuncTest* sft,
  guint nsim,
  gchar* fname
)

Description [src]

Performs a Monte Carlo simulation on the base function and saves some statistics in the fname file.

Same as ncm_spline_func_test_monte_carlo() but creating a ascii file with the statistics on the fly.

See NcmSplineFuncTestType and NcmSplineFuncTestTypePDF for the available options.

It must be called after ncm_spline_func_test_prepare(). .

Parameters

nsim

Type: guint

The number of Monte Carlo simulations to be performed.

fname

Type: gchar*

The name of the text file to save mc statistics.

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