Class method
NumCosmoMathModelClassset_vparam
Declaration [src]
void
ncm_model_class_set_vparam (
NcmModelClass* model_class,
guint vparam_id,
guint default_length,
const gchar* symbol,
const gchar* name,
gdouble lower_bound,
gdouble upper_bound,
gdouble scale,
gdouble abstol,
gdouble default_value,
NcmParamType ppt
)
Description [src]
Helper function to set a vector parameter. It creates a NcmVParam object
and calls ncm_model_class_set_vparam_obj().
Parameters
vparam_id-
Type:
guintId of the vector parameter.
default_length-
Type:
guintDefault length of the vector parameter.
symbol-
Type:
const gchar*Symbol of the vector parameter.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. name-
Type:
const gchar*Name of the vector parameter.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. lower_bound-
Type:
gdoubleParameter lower bound.
upper_bound-
Type:
gdoubleParameter upper bound.
scale-
Type:
gdoubleParameter scale.
abstol-
Type:
gdoubleParameter absolute tolerance.
default_value-
Type:
gdoubleDefault value.
ppt-
Type:
NcmParamTypeA
NcmParamType.