Class
NumCosmoMathStatsDist1d
Description [src]
abstract class NumCosmoMath.StatsDist1d : GObject.Object
{
/* No available fields */
}
Base class for implementing one dimensional probability distributions.
Abstract class to reconstruct an arbitrary one dimensional probability distribution.
Instance methods
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_norma
Calculates the norma of the distribution. If the probability density is already normalized it will return 1.0.
ncm_stats_dist1d_set_compute_cdf
Enable/Disable the computation of the CDF and inverse CDF
whenever compute_cdf is TRUE/FALSE.
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 NumCosmoMathStatsDist1dClass {
gdouble (* p) (
NcmStatsDist1d* sd1,
gdouble x
);
gdouble (* m2lnp) (
NcmStatsDist1d* sd1,
gdouble x
);
void (* prepare) (
NcmStatsDist1d* sd1
);
gdouble (* get_current_h) (
NcmStatsDist1d* sd1
);
}
No description available.
Class members
p: gdouble (* p) ( NcmStatsDist1d* sd1, gdouble x )No description available.
m2lnp: gdouble (* m2lnp) ( NcmStatsDist1d* sd1, gdouble x )No description available.
prepare: void (* prepare) ( NcmStatsDist1d* sd1 )No description available.
get_current_h: gdouble (* get_current_h) ( NcmStatsDist1d* sd1 )No description available.