Class

NumCosmoMathSParam

Description [src]

final class NumCosmoMath.SParam : GObject.Object
{
  /* No available fields */
}

Properties of a scalar parameter.

This object comprises the necessary properties to define a scalar parameter. It is used by NcmModel to store the description of the scalar model parameters.

Ancestors

Constructors

ncm_sparam_new

This function allocates memory for a new NcmSParam object and sets its properties to the values from the input arguments.

Functions

ncm_sparam_clear

Atomically decrements the reference count of sparam by one. If the reference count drops to 0, all memory allocated by sparam is released. Set the pointer to NULL.

Instance methods

ncm_sparam_copy

Duplicates the NcmSParam object setting the same values of the original propertities.

ncm_sparam_free

Atomically decrements the reference count of sparam by one. If the reference count drops to 0, all memory allocated by sparam is released.

ncm_sparam_get_absolute_tolerance
No description available.

ncm_sparam_get_default_value
No description available.

ncm_sparam_get_fit_type
No description available.

ncm_sparam_get_lower_bound
No description available.

ncm_sparam_get_scale
No description available.

ncm_sparam_get_upper_bound
No description available.

ncm_sparam_name
No description available.

ncm_sparam_ref

Atomically increases the reference count of sparam by one.

ncm_sparam_set_absolute_tolerance

Sets the value abstol to the NcmSParam:absolute-tolerance property.

ncm_sparam_set_default_value

Sets the value default_val to the NcmSParam:default-value property.

ncm_sparam_set_fit_type

Sets the value ftype to the NcmSParam:fit-type property.

ncm_sparam_set_lower_bound

Sets the value lb to the NcmSParam:lower-bound property.

ncm_sparam_set_scale

Sets the value scale to the NcmSParam:scale property.

ncm_sparam_set_upper_bound

Sets the value ub to the NcmSParam:upper-bound property.

ncm_sparam_symbol
No description available.

ncm_sparam_take_name

Takes name as the name string. The caller doesn’t have to free it any more.

ncm_sparam_take_symbol

Takes symbol as the symbol string. The caller doesn’t have to free it any more.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.SParam:absolute-tolerance

Absolute tolerance, whose value is restricted to [0, G_MAXDOUBLE], is the size of the error used by NcmFit.

NumCosmoMath.SParam:default-value

Parameter’s default value.

NumCosmoMath.SParam:fit-type

Parameter’s fit type: FIXED or FREE.

NumCosmoMath.SParam:lower-bound

Lower parameter threshold whose value is restricted to [-G_MAXDOUBLE, G_MAXDOUBLE].

NumCosmoMath.SParam:name

The parameter’ s name must be a string written using only ASCII and -.

NumCosmoMath.SParam:scale

Scale, whose value is restricted to [0, G_MAXDOUBLE], is the step used by NcmFit to increment the value of the parameter.

NumCosmoMath.SParam:symbol

Parameter’s name written in a usual form (including latex).

NumCosmoMath.SParam:upper-bound

Upper parameter threshold whose value is restricted to [-G_MAXDOUBLE, G_MAXDOUBLE].

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathSParamClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.