Method

NumCosmoMathFunctionSampleSetIternext_pair

Declaration [src]

gboolean
ncm_function_sample_set_iter_next_pair (
  NcmFunctionSampleSetIter* iter,
  NcmFunctionSampleSetIter* next_iter
)

Description [src]

Helper for interval operations. Sets next_iter to point to the sample after iter. This is useful for iterating over intervals where you need both endpoints.

Parameters

next_iter

Type: NcmFunctionSampleSetIter

A NcmFunctionSampleSetIter to be set to the next position.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

TRUE if both iterators are valid (there is an interval), FALSE otherwise.