Class
NumCosmoMathStatsDist1dSpline
Description [src]
final class NumCosmoMath.StatsDist1dSpline : NumCosmoMath.StatsDist1d
{
/* No available fields */
}
One dimensional probability distribution based on a spline.
Reconstruction of an arbitrary one dimensional probability distribution based on a spline.
Constructors
ncm_stats_dist1d_spline_new
Returns a new NcmStatsDist1dSpline where m2lnp, $-2\ln(p(x))$, is a NcmSpline, where $p(x)$
is the probability density. The probability density $p(x)$ do not need to be normalized.
Instance methods
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
ncm_stats_dist1d_get_current_h
ncm_stats_dist1d_get_xf
ncm_stats_dist1d_get_xi
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$.
Properties
Properties inherited from NcmStatsDist1d (7)
NumCosmoMath.StatsDist1d:abstol
NumCosmoMath.StatsDist1d:compute-cdf
NumCosmoMath.StatsDist1d:max-prob
NumCosmoMath.StatsDist1d:norma
NumCosmoMath.StatsDist1d:reltol
NumCosmoMath.StatsDist1d:xf
NumCosmoMath.StatsDist1d:xi
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.