Class
NumCosmoMathMSetTransKernFlat
Description [src]
final class NumCosmoMath.MSetTransKernFlat : NumCosmoMath.MSetTransKern
{
/* No available fields */
}
Multivariate flat sampler.
This object subclasses NcmMSetTransKern and implements a multivariate flat sampler.
Implementation of a multivariate flat sampler, offering a straightforward method for generating random parameter vectors with multivariate parameters. This sampler generates vectors uniformly distributed in the hypercube defined by the specified bounds for each parameter.
Key Functionality:
- Generates random parameter vectors with multivariate parameters.
- Utilizes a simple flat sampling method within the hypercube defined by parameter bounds.
This implementation is particularly useful when a basic flat sampling approach is needed for generating random parameter vectors with multivariate parameters, especially in scenarios where limited information is available about the posterior distribution.
Instance methods
Methods inherited from NcmMSetTransKern (12)
ncm_mset_trans_kern_free
Increases the reference count of tkern.
ncm_mset_trans_kern_generate
Generates a new point thetastar from theta using the transition kernel.
ncm_mset_trans_kern_get_name
ncm_mset_trans_kern_pdf
Computes the value of the kernel at (theta, thetastar).
ncm_mset_trans_kern_peek_mset
ncm_mset_trans_kern_prior_pdf
Computes the value of the kernel at (ktern->theta, thetastar).
To use as a prior one must call the ncm_mset_trans_kern_set_prior()
or ncm_mset_trans_kern_set_prior_from_mset() first.
ncm_mset_trans_kern_prior_sample
Sample from the transition kernel using it as a prior. To use as a prior one must call one of the functions ncm_mset_trans_kern_set_prior_* first.
ncm_mset_trans_kern_ref
Increases the reference count of tkern.
ncm_mset_trans_kern_reset
Resets the transition kernel.
ncm_mset_trans_kern_set_mset
Sets the mset as the internal set NcmMSet to be used by the transition kernel.
ncm_mset_trans_kern_set_prior
Sets the theta as the prior mean. This allows the transition kernel to
be used as a prior sampler.
ncm_mset_trans_kern_set_prior_from_mset
As ncm_mset_trans_kern_set_prior() but uses the values present in the
internal set NcmMSet.
Properties
Properties inherited from NcmMSetTransKern (1)
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.