Class

NumCosmoMathStatsDist2dSpline

Description [src]

final class NumCosmoMath.StatsDist2dSpline : NumCosmoMath.StatsDist2d
{
  /* No available fields */
}

Two-dimensional distribution with $-2\ln p(x, y)$ given by a spline.

The support is the knot range of the NcmStatsDist2dSpline:m2lnp spline, and the density $p(x, y) = e^{-m_2(x, y)/2}$ is not normalized. Only ncm_stats_dist2d_eval_m2lnp(), ncm_stats_dist2d_eval_pdf() and the bounds are implemented; the cumulative distribution, the marginals and the conditional quantiles abort.

Constructors

ncm_stats_dist2d_spline_new

Creates a new NcmStatsDist2dSpline with NcmStatsDist2dSpline:m2lnp set to m2lnp; ncm_stats_dist2d_prepare() prepares m2lnp.

Instance methods

Methods inherited from NcmStatsDist2d (12)
ncm_stats_dist2d_eval_cdf

Evaluates the probability of $[x_i, x] \times [y_i, y]$.

ncm_stats_dist2d_eval_inv_cond

Evaluates the quantile u of the other variable conditional on the marginal’s variable being xy.

ncm_stats_dist2d_eval_m2lnp

Evaluates $-2\ln p(x, y)$.

ncm_stats_dist2d_eval_marginal_cdf

Evaluates the cumulative distribution of the marginal of ncm_stats_dist2d_eval_marginal_pdf().

ncm_stats_dist2d_eval_marginal_inv_cdf

Evaluates the inverse of ncm_stats_dist2d_eval_marginal_cdf().

ncm_stats_dist2d_eval_marginal_pdf

Evaluates the marginal density of one variable; which one depends on the subclass.

ncm_stats_dist2d_eval_pdf

Evaluates the density at (x, y).

ncm_stats_dist2d_free

Decreases the reference count of sd2.

ncm_stats_dist2d_prepare

Calls the subclass prepare, if any; must be called before evaluating sd2.

ncm_stats_dist2d_ref

Increases the reference count of sd2.

ncm_stats_dist2d_xbounds

Gets the range of $x$ of the support.

ncm_stats_dist2d_ybounds

Gets the range of $y$ of the support.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.StatsDist2dSpline:m2lnp
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 NumCosmoMathStatsDist2dSplineClass {
  NcmStatsDist2dClass parent_class;
  
}

No description available.

Class members
parent_class: NcmStatsDist2dClass

No description available.