Method

NumCosmoMathModelorig_param_index_from_name

Declaration [src]

gboolean
ncm_model_orig_param_index_from_name (
  NcmModel* model,
  const gchar* param_name,
  guint* i
)

Description [src]

Looks for parameter named param_name in the original parameters of model and puts its index in i and returns TRUE if found.

Parameters

param_name

Type: const gchar*

Parameter name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
i

Type: guint*

Parameter index.

The argument will be set by the function.

Return value

Type: gboolean

Whether the parameter param_name is found in the model.