Method

NumCosmoMathMSetcmp_all

Declaration [src]

gint
ncm_mset_cmp_all (
  NcmMSet* mset0,
  NcmMSet* mset1
)

Description [src]

Compares two NcmMSet objects. It returns 0 if they contain the same models, with the same number of parameters, in the same order. It returns -1 if mset0 has fewer models than mset1, or if they have the same number of models but mset0 has a model with fewer parameters than the corresponding model in mset1. It returns 1 if mset0 has more models than mset1, or if they have the same number of models but mset0 has a model with more parameters than the corresponding model in mset1.

Parameters

mset1

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.

Return value

Type: gint

The comparison result.