Method

NumCosmoMathModelBuilderadd_sparam

Declaration [src]

void
ncm_model_builder_add_sparam (
  NcmModelBuilder* mb,
  const gchar* symbol,
  const gchar* name,
  gdouble lower_bound,
  gdouble upper_bound,
  gdouble scale,
  gdouble abstol,
  gdouble default_value,
  NcmParamType ppt
)

Description [src]

Creates a new NcmSParam from arguments and add it to mb.

Parameters

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: gdouble

Lower-bound value.

upper_bound

Type: gdouble

Upper-bound value.

scale

Type: gdouble

Parameter scale.

abstol

Type: gdouble

Absolute tolerance.

default_value

Type: gdouble

Default value.

ppt

Type: NcmParamType

A NcmParamType.