Top | ![]() |
![]() |
![]() |
![]() |
Functions
gboolean | (*NcmReparamV) () |
gboolean | (*NcmReparamJ) () |
NcmReparam * | ncm_reparam_copy () |
NcmReparam * | ncm_reparam_ref () |
void | ncm_reparam_free () |
void | ncm_reparam_clear () |
void | ncm_reparam_copyto () |
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 () |
Functions
NcmReparamV ()
gboolean (*NcmReparamV) (NcmReparam *reparam
,struct _NcmModel *model
,NcmVector *src
,NcmVector *dest
);
FIXME
NcmReparamJ ()
gboolean (*NcmReparamJ) (NcmReparam *reparam
,struct _NcmModel *model
,NcmMatrix *jac
);
FIXME
ncm_reparam_copyto ()
void ncm_reparam_copyto (NcmReparam *reparam
,NcmReparam *reparam_dest
);
FIXME
ncm_reparam_old2new ()
void ncm_reparam_old2new (NcmReparam *reparam
,struct _NcmModel *model
,NcmVector *src
,NcmVector *dest
);
FIXME
ncm_reparam_new2old ()
void ncm_reparam_new2old (NcmReparam *reparam
,struct _NcmModel *model
,NcmVector *src
,NcmVector *dest
);
FIXME
ncm_reparam_jac ()
void ncm_reparam_jac (NcmReparam *reparam
,struct _NcmModel *model
,NcmMatrix *jac
);
FIXME
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.