Class

NumCosmoMathStatsDist1dEPDF

Description [src]

final class NumCosmoMath.StatsDist1dEPDF : NumCosmoMath.StatsDist1d
{
  /* No available fields */
}

One dimensional probability distribution based on an EPDF.

Reconstruction of an arbitrary one dimensional probability distribution based on a Empirical Probability Distribution Function (EPDF).

Constructors

ncm_stats_dist1d_epdf_new

Creates a new EPDF object, it creates an interpolated PDF from the observations.

ncm_stats_dist1d_epdf_new_full

Creates a new EPDF object, it creates an interpolated PDF from the observations.

Functions

ncm_stats_dist1d_epdf_clear

Atomically decrements the reference count of epdf1d by one. If the reference count drops to 0, all memory allocated by epdf1d is released. Set the pointer to NULL;.

Instance methods

ncm_stats_dist1d_epdf_add_obs

Adds a new observation x (weight 1.0) to the epdf1d updating the internal approximation of the EPDF when necessary.

ncm_stats_dist1d_epdf_add_obs_weight

Adds a new observation x with weight w to the epdf1d updating the internal approximation of the EPDF when necessary.

ncm_stats_dist1d_epdf_free

Atomically decrements the reference count of epdf1d by one. If the reference count drops to 0, all memory allocated by epdf1d is released.

ncm_stats_dist1d_epdf_get_bw_type
No description available.

ncm_stats_dist1d_epdf_get_h_fixed
No description available.

ncm_stats_dist1d_epdf_get_obs_mean

Calculates the mean value of the observations.

ncm_stats_dist1d_epdf_ref

Increases the reference count of epdf1d by one.

ncm_stats_dist1d_epdf_reset

Empty the object epdf1d discarding all observations.

ncm_stats_dist1d_epdf_set_bw_type

Sets the bandwidth computation type to bw. The object must be (re)prepared after the call to this method to be used.

ncm_stats_dist1d_epdf_set_h_fixed

Sets the fixed bandwidth to h_fixed. The object must be (re)prepared after the call to this method to be used. This value is used only if the bandwidth computation type is

NCM_STATS_DIST1D_EPDF_BW_FIXED.

ncm_stats_dist1d_epdf_set_max

Sets the upper bound for the distribution. It may be updated if a observation with value larger than max is added.

ncm_stats_dist1d_epdf_set_min

Sets the lower bound for the distribution. It may be updated if a observation with value smaller than min is added.

Methods inherited from NcmStatsDist1d (18)
ncm_stats_dist1d_eval_inv_pdf

Calculates the value of the random variable $x$ for which the cumulative distribution satisfy $\int_{x_i}^x\mathrm{d}x^\prime p(x^\prime) = u$.

ncm_stats_dist1d_eval_inv_pdf_tail

Calculates the value of the random variable $x$ for which the cumulative distribution satisfy $\int_{x}^{x_f}\mathrm{d}x^\prime p(x^\prime) = v$.

ncm_stats_dist1d_eval_m2lnp

Calculates the value of the $-2\ln(p(x))$ for the probability density. It can be unnormalized, the norma can be retrieved using ncm_stats_dist1d_eval_norma().

ncm_stats_dist1d_eval_mode

Calculates the mode of the distribution.

ncm_stats_dist1d_eval_norma

Calculates the norma of the distribution. If the probability density is already normalized it will return 1.0.

ncm_stats_dist1d_eval_p

Calculates the value of the probability density at x.

ncm_stats_dist1d_eval_pdf

Calculates the value of the probability of the interval [x_i, x].

ncm_stats_dist1d_free

Decreases the reference count of sd1.

ncm_stats_dist1d_gen

Generates a realization of the probability distribution.

ncm_stats_dist1d_get_compute_cdf
No description available.

ncm_stats_dist1d_get_current_h
No description available.

ncm_stats_dist1d_get_xf
No description available.

ncm_stats_dist1d_get_xi
No description available.

ncm_stats_dist1d_prepare

Prepares the object for calculations.

ncm_stats_dist1d_ref

Increases the reference count of sd1.

ncm_stats_dist1d_set_compute_cdf

Enable/Disable the computation of the CDF and inverse CDF whenever compute_cdf is TRUE/FALSE.

ncm_stats_dist1d_set_xf

Sets the upper bound of the distribution $x_f$.

ncm_stats_dist1d_set_xi

Sets the lower bound of the distribution $x_i$.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.StatsDist1dEPDF:bandwidth
No description available.

NumCosmoMath.StatsDist1dEPDF:h-fixed
No description available.

NumCosmoMath.StatsDist1dEPDF:max-obs
No description available.

NumCosmoMath.StatsDist1dEPDF:n-obs
No description available.

NumCosmoMath.StatsDist1dEPDF:sd-min-scale
No description available.

Properties inherited from NcmStatsDist1d (7)
NumCosmoMath.StatsDist1d:abstol
No description available.

NumCosmoMath.StatsDist1d:compute-cdf
No description available.

NumCosmoMath.StatsDist1d:max-prob
No description available.

NumCosmoMath.StatsDist1d:norma
No description available.

NumCosmoMath.StatsDist1d:reltol
No description available.

NumCosmoMath.StatsDist1d:xf
No description available.

NumCosmoMath.StatsDist1d:xi
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 NumCosmoMathStatsDist1dEPDFClass {
  NcmStatsDist1dClass parent_class;
  
}

No description available.

Class members
parent_class: NcmStatsDist1dClass

No description available.