Class
NumCosmoMathReparamLinear
Description [src]
final class NumCosmoMath.ReparamLinear : NumCosmoMath.Reparam
{
/* No available fields */
}
Linear reparametrization object.
Object implementing a linear reparametrization of the model’s parameters.
It uses as imput a matrix $M$ (NcmReparamLinear:matrix) and a vector $v$
(NcmReparamLinear:vector), such that the new parameters
$\vec{w}$ are given by $$\vec{w} = M\cdot\vec{y} + \vec{v},$$ where $\vec{y}$
represents the original model’s parameters.
Constructors
ncm_reparam_linear_new
Creates a new reparametrization using the parameters transformation matrix
T and the shift vector v, i.e., the new parameters vector $\vec{p}_n$ is
given by $\vec{p}_n = T\cdot{}\vec{p} + \vec{v}$, where $p$ are the old
parameters vector.
Instance methods
Methods inherited from NcmReparam (13)
ncm_reparam_free
Decreases the reference count of reparam by one. If the reference count
reaches zero, the NcmReparam is freed.
ncm_reparam_get_compat_type
Gets the compatible GType for this reparametrization.
ncm_reparam_get_length
Gets the number of parameters.
ncm_reparam_get_param_desc
Gets the i-th parameter description.
ncm_reparam_index_from_name
Looks for a parameter named param_name and returns TRUE if found. If found
puts at i its index.
ncm_reparam_new2old
Using the values set in the new parametrization update the values of the original parametrization.
ncm_reparam_old2new
Using the values set in the original parametrization update the values of the new parametrization.
ncm_reparam_peek_param_desc
Peeks the i-th parameter description.
ncm_reparam_peek_params
Gets the NcmVector containing the new parameters. This vector is owned by
the NcmReparam and should not be freed. This method is used by NcmModel
and subclasses to get the new parameters and should not be used by the
user. The pointer returned by this method is guaranteed to be valid until
the destruction of the NcmReparam.
ncm_reparam_ref
Increases the reference count of reparam by one.
ncm_reparam_set_compat_type
Sets the compatible GType for this reparametrization.
ncm_reparam_set_param_desc
Change the i-th parameter description using sp.
ncm_reparam_set_param_desc_full
Change the i-th parameter description using the given values.
Properties
Properties inherited from NcmReparam (3)
NumCosmoMath.Reparam:compat-type
NumCosmoMath.Reparam:length
NumCosmoMath.Reparam:params-desc
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.