Method

NumCosmoMathMSetexists_pos

Declaration [src]

gboolean
ncm_mset_exists_pos (
  NcmMSet* mset,
  NcmModel* model,
  guint stackpos_id
)

Description [src]

Checks whether a NcmModel with the same id as model and stack position stackpos_id exists in the NcmMSet.

Parameters

model

Type: NcmModel

A NcmModel.

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

Type: guint

Stack position.

Return value

Type: gboolean

TRUE if model exists in mset, FALSE otherwise.