Class method
NumCosmoMathModelClassset_sparam
Declaration [src]
void
ncm_model_class_set_sparam (
NcmModelClass* model_class,
guint sparam_id,
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 scalar parameter. It creates a NcmSParam object
and calls ncm_model_class_set_sparam_obj().
Parameters
sparam_id-
Type:
guintId of the scalar parameter.
symbol-
Type:
const gchar*Symbol of the scalar 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 sacalar parameter.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. lower_bound-
Type:
gdoubleLower-bound value.
upper_bound-
Type:
gdoubleUpper-bound value.
scale-
Type:
gdoubleParameter scale.
abstol-
Type:
gdoubleParameter absolute tolerance.
default_value-
Type:
gdoubleDefault value.
ppt-
Type:
NcmParamTypeA
NcmParamType.