Class

NumCosmoMathPriorFlatParam

Description [src]

final class NumCosmoMath.PriorFlatParam : NumCosmoMath.PriorFlat
{
  /* No available fields */
}

Flat prior on a sampling parameter.

This object is a subclass of NcmPriorFlat, tailored for defining a flat prior on a sampling parameter. The prior is uniquely identified by the sampling parameter ID and is characterized by user-specified lower and upper limits, along with the scale of the prior.

Users enjoy the flexibility to specify the parameter in various ways: - Using the pair NcmModelID and the parameter pid. - Providing a single NcmMSetPIndex. - Supplying a string consisting of a parameter full name “model:parameter”.

These options offer diverse and convenient ways for parameter identification.

Constructors

ncm_prior_flat_param_new

Creates a new Flat prior for parameter pid of model.

ncm_prior_flat_param_new_name

Creates a new Flat prior for parameter named name in mset. See ncm_mset_split_full_name() for details on the parameter name format.

Functions

ncm_prior_flat_param_clear

Decreases the reference count of pfp and sets pfp to NULL.

Instance methods

ncm_prior_flat_param_free

Decreases the reference count of pfp atomically.

ncm_prior_flat_param_get_stack_pos

Gets the stack position of the parameter.

ncm_prior_flat_param_peek_model_ns
No description available.

ncm_prior_flat_param_peek_param_name
No description available.

ncm_prior_flat_param_ref

Increases the reference count of pfp atomically.

ncm_prior_flat_param_set_model_ns

Sets the model namespace of pfp to model_ns.

ncm_prior_flat_param_set_param_name

Sets the parameter name of pfp to param_name.

ncm_prior_flat_param_set_stack_pos

Sets the stack position of pfp to stack_pos.

Methods inherited from NcmPriorFlat (12)
ncm_prior_flat_free

Decreases the reference count of pf atomically.

ncm_prior_flat_get_h0
No description available.

ncm_prior_flat_get_scale
No description available.

ncm_prior_flat_get_var
No description available.

ncm_prior_flat_get_x_low
No description available.

ncm_prior_flat_get_x_upp
No description available.

ncm_prior_flat_ref

Increases the reference count of pf atomically.

ncm_prior_flat_set_h0

Sets the cut magnitude of pf.

ncm_prior_flat_set_scale

Sets the border scale of pf.

ncm_prior_flat_set_var

Sets the variable of pf.

ncm_prior_flat_set_x_low

Sets the lower limit of pf.

ncm_prior_flat_set_x_upp

Sets the upper limit of pf.

Methods inherited from NcmPrior (3)
ncm_prior_free

Decreases the reference count of prior atomically.

ncm_prior_is_m2lnL
No description available.

ncm_prior_ref

Increases the reference count of prior atomically.

Methods inherited from NcmMSetFunc (22)
ncm_mset_func_eval

Evaluate the function func at x and store the result in res.

ncm_mset_func_eval0

Evaluate the function func and return the result. This function is only valid if func is a scalar function. The function’s arguments are either none, if the function is constant, or the arguments passed to ncm_mset_func_set_eval_x().

ncm_mset_func_eval1

Evaluate the function func at x and return the result. This function is only valid if func is a scalar function.

ncm_mset_func_eval_nvar

Evaluate the function func at x and return the result. This function is only valid if func is a scalar function.

ncm_mset_func_eval_vector

Compute the function func at x_v and store the result in res_v. This function is only valid if func is a vectorial function.

ncm_mset_func_free

Decreases the reference count of func by one. If the reference count reaches zero, func is freed.

ncm_mset_func_get_dim

Gets the dimension of func.

ncm_mset_func_get_nvar

Gets the number of variables of func.

ncm_mset_func_has_nvar

Checks if func expects nvar extra variables.

ncm_mset_func_is_const

Checks if func is a constant function.

ncm_mset_func_is_scalar

Checks if func is a scalar function.

ncm_mset_func_is_vector

Checks if func is a vectorial function with dimension dim.

ncm_mset_func_numdiff_fparams

Computes the gradient of func at x and stores the result in out. This function is only valid if func is a scalar function.

ncm_mset_func_peek_desc
No description available.

ncm_mset_func_peek_name
No description available.

ncm_mset_func_peek_ns
No description available.

ncm_mset_func_peek_symbol
No description available.

ncm_mset_func_peek_uname

Peeks unique name.

ncm_mset_func_peek_usymbol

Peeks unique symbol.

ncm_mset_func_ref

Increases the reference count of func by one.

ncm_mset_func_set_eval_x

Sets the function’s arguments to x. Once this function is called, the function’s arguments are fixed and func becomes a constant function.

ncm_mset_func_set_meta

Sets the function’s metadata. This function is called by subclasses’ to set the function’s metadata. It should not be called by users.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.PriorFlatParam:model-ns
No description available.

NumCosmoMath.PriorFlatParam:parameter-name
No description available.

NumCosmoMath.PriorFlatParam:stack-pos
No description available.

Properties inherited from NcmPriorFlat (5)
NumCosmoMath.PriorFlat:h0
No description available.

NumCosmoMath.PriorFlat:scale
No description available.

NumCosmoMath.PriorFlat:variable
No description available.

NumCosmoMath.PriorFlat:x-low
No description available.

NumCosmoMath.PriorFlat:x-upp
No description available.

Properties inherited from NcmMSetFunc (3)
NumCosmoMath.MSetFunc:dimension
No description available.

NumCosmoMath.MSetFunc:eval-x
No description available.

NumCosmoMath.MSetFunc:nvariables
No description available.

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 NumCosmoMathPriorFlatParamClass {
  NcmPriorFlatClass parent_class;
  
}

No description available.

Class members
parent_class: NcmPriorFlatClass

No description available.