Method

NumCosmoMathISetremove_smallest_subset

Declaration [src]

guint
ncm_iset_remove_smallest_subset (
  NcmISet* iset,
  NcmISet* target,
  NcmVector* v,
  guint max_remove
)

Description [src]

Removes indexes of iset from target based on the values on v. The first max_remove indexes from target matching the smallest components of v are removed.

Parameters

target

Type: NcmISet

A NcmISet.

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

Type: NcmVector

A NcmVector.

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

Type: guint

Maximum number of indexes to be removed.

Return value

Type: guint

Number of indexes removed.