Method
NumCosmoMathModelparam_index_from_name
Declaration [src]
gboolean
ncm_model_param_index_from_name (
NcmModel* model,
const gchar* param_name,
guint* i,
GError** error
)
Description [src]
Looks for parameter named param_name in 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. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.