| Top |
Functions
| gboolean | (*NcmReparamV) () |
| gboolean | (*NcmReparamJ) () |
| NcmReparam * | ncm_reparam_ref () |
| void | ncm_reparam_free () |
| void | ncm_reparam_clear () |
| GType | ncm_reparam_get_compat_type () |
| void | ncm_reparam_old2new () |
| void | ncm_reparam_new2old () |
| void | ncm_reparam_jac () |
| void | ncm_reparam_grad_old2new () |
| void | ncm_reparam_M_old2new () |
| GVariant * | ncm_reparam_get_params_desc_dict () |
| void | ncm_reparam_set_params_desc_dict () |
| void | ncm_reparam_set_param_desc () |
| NcmSParam * | ncm_reparam_peek_param_desc () |
| NcmSParam * | ncm_reparam_get_param_desc () |
| void | ncm_reparam_set_param_desc_full () |
| gboolean | ncm_reparam_index_from_name () |
Properties
| gchar * | compat-type | Read / Write / Construct Only |
| guint | length | Read / Write / Construct Only |
| GVariant * | params-desc | Read / Write |
Object Hierarchy
GObject ╰── NcmReparam ├── NcHICosmoDEReparamCMB ├── NcHICosmoDEReparamOk ├── NcHICosmoGCGReparamCMB ├── NcHICosmoGCGReparamOk ├── NcHICosmoIDEM2ReparamCMB ├── NcHICosmoIDEM2ReparamOk ├── NcHIReionCambReparamTau ╰── NcmReparamLinear
Functions
NcmReparamJ ()
gboolean (*NcmReparamJ) (NcmReparam *reparam,struct _NcmModel *model,NcmMatrix *jac);
FIXME
ncm_reparam_old2new ()
void ncm_reparam_old2new (NcmReparam *reparam,struct _NcmModel *model);
Using the values set in the original parametrization update the values of the new parametrization.
[virtual old2new]
ncm_reparam_new2old ()
void ncm_reparam_new2old (NcmReparam *reparam,struct _NcmModel *model);
Using the values set in the new parametrization update the values of the original parametrization.
[virtual new2old]
ncm_reparam_jac ()
void ncm_reparam_jac (NcmReparam *reparam,struct _NcmModel *model,NcmMatrix *jac);
FIXME
[virtual jac]
ncm_reparam_grad_old2new ()
void ncm_reparam_grad_old2new (NcmReparam *reparam,struct _NcmModel *model,NcmMatrix *jac,NcmVector *old_grad,NcmVector *new_grad);
FIXME
ncm_reparam_M_old2new ()
void ncm_reparam_M_old2new (NcmReparam *reparam,struct _NcmModel *model,NcmMatrix *jac,NcmMatrix *old_M,NcmMatrix *new_M);
FIXME
ncm_reparam_get_params_desc_dict ()
GVariant *
ncm_reparam_get_params_desc_dict (NcmReparam *reparam);
Returns a GVariant containing a dictionary describing the new parameters.
ncm_reparam_set_params_desc_dict ()
void ncm_reparam_set_params_desc_dict (NcmReparam *reparam,GVariant *pdesc_dict);
Sets the new parameters descriptions using the information from pdesc_dict
.
ncm_reparam_set_param_desc ()
void ncm_reparam_set_param_desc (NcmReparam *reparam,guint i,NcmSParam *sp);
Change the i
-th parameter description using sp
.
ncm_reparam_peek_param_desc ()
NcmSParam * ncm_reparam_peek_param_desc (NcmReparam *reparam,guint i);
Peeks the i
-th parameter description.
ncm_reparam_get_param_desc ()
NcmSParam * ncm_reparam_get_param_desc (NcmReparam *reparam,guint i);
Gets the i
-th parameter description.
ncm_reparam_set_param_desc_full ()
void ncm_reparam_set_param_desc_full (NcmReparam *reparam,guint i,const gchar *name,const gchar *symbol,gdouble lower_bound,gdouble upper_bound,gdouble scale,gdouble abstol,gdouble default_val,NcmParamType ftype);
FIXME
Parameters
reparam |
||
i |
index of the changed parameter. |
|
name |
||
symbol |
||
lower_bound |
value of “lower-bound”. |
|
upper_bound |
value of “upper-bound”. |
|
scale |
value of “scale”. |
|
abstol |
value of “absolute-tolerance”. |
|
default_val |
value of “default-value”. |
|
ftype |
a NcmParamType. |
ncm_reparam_index_from_name ()
gboolean ncm_reparam_index_from_name (NcmReparam *reparam,const gchar *param_name,guint *i);
Looks for a parameter named param_name
and returns TRUE if found. If found
puts at i
its index.
Property Details
The “compat-type” property
“compat-type” gchar *
Compatible type.
Flags: Read / Write / Construct Only
Default value: "NcmModel"
The “length” property
“length” guint
System's length.
Flags: Read / Write / Construct Only
Default value: 0
The “params-desc” property
“params-desc” GVariant *
News parameter descriptions.
Flags: Read / Write
Allowed values: GVariant<a{u{sa{sv}}}>
Default value: NULL