Method

NumCosmoMathModelBuilderadd_vparam

Declaration [src]

void
ncm_model_builder_add_vparam (
  NcmModelBuilder* mb,
  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]

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

Parameters

default_length

Type: guint

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

Parameter lower bound.

upper_bound

Type: gdouble

Parameter upper bound.

scale

Type: gdouble

Parameter scale.

abstol

Type: gdouble

Absolute tolerance.

default_value

Type: gdouble

Default value.

ppt

Type: NcmParamType

A NcmParamType.