Method

NumCosmoMathISetadd_largest_subset

Declaration [src]

guint
ncm_iset_add_largest_subset (
  NcmISet* iset,
  NcmVector* v,
  const gdouble min,
  const gdouble add_frac
)

Description [src]

Adds indexes to iset using the largest values of v satisfying $v_i > \mu$ where $i \in $ complement of iset.

Parameters

v

Type: NcmVector

A NcmVector.

The data is owned by the caller of the method.
min

Type: const gdouble

A double $\mu$.

add_frac

Type: const gdouble

Fraction of indexes to be added.

Return value

Type: guint

Number of indexes added.