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.

Constructors

ncm_mset_trans_kern_flat_new

New NcmMSetTransKern flat.

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
No description available.

ncm_mset_trans_kern_pdf

Computes the value of the kernel at (theta, thetastar).

ncm_mset_trans_kern_peek_mset
No description available.

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.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from NcmMSetTransKern (1)
NumCosmoMath.MSetTransKern:mset
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 NumCosmoMathMSetTransKernFlatClass {
  NcmMSetTransKernClass parent_class;
  
}

No description available.

Class members
parent_class: NcmMSetTransKernClass

No description available.