Method

NumCosmoMathFunctionSampleSetall_intervals_ok

Declaration [src]

gboolean
ncm_function_sample_set_all_intervals_ok (
  NcmFunctionSampleSet* fss,
  const gint threshold
)

Description [src]

Checks if all intervals have interval_ok >= threshold. This is useful for determining convergence in refinement algorithms - when all intervals have passed the refinement test enough times.

Note: The last sample point is excluded since it doesn’t define an interval.

Parameters

threshold

Type: const gint

Minimum interval_ok value required.

Return value

Type: gboolean

TRUE if all intervals have interval_ok >= threshold, FALSE otherwise.