Class

NumCosmoMathStatsDist2d

Description [src]

abstract class NumCosmoMath.StatsDist2d : GObject.Object
{
  /* No available fields */
}

Base class for two-dimensional probability distributions.

A subclass implements the methods it supports; the others abort naming the subclass.

Ancestors

Descendants

Functions

ncm_stats_dist2d_clear

Decreases the reference count of sd2 and sets the pointer sd2 to NULL.

Instance methods

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.

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 NumCosmoMathStatsDist2dClass {
  void (* xbounds) (
    NcmStatsDist2d* sd2,
    gdouble* xi,
    gdouble* xf
  );
  void (* ybounds) (
    NcmStatsDist2d* sd2,
    gdouble* yi,
    gdouble* yf
  );
  gdouble (* pdf) (
    NcmStatsDist2d* sd2,
    const gdouble x,
    const gdouble y
  );
  gdouble (* m2lnp) (
    NcmStatsDist2d* sd2,
    const gdouble x,
    const gdouble y
  );
  gdouble (* cdf) (
    NcmStatsDist2d* sd2,
    const gdouble x,
    const gdouble y
  );
  gdouble (* marginal_pdf) (
    NcmStatsDist2d* sd2,
    const gdouble xy
  );
  gdouble (* marginal_cdf) (
    NcmStatsDist2d* sd2,
    const gdouble xy
  );
  gdouble (* marginal_inv_cdf) (
    NcmStatsDist2d* sd2,
    const gdouble u
  );
  gdouble (* inv_cond) (
    NcmStatsDist2d* sd2,
    const gdouble u,
    const gdouble xy
  );
  void (* prepare) (
    NcmStatsDist2d* sd2
  );
  
}

No description available.

Class members
xbounds: void (* xbounds) ( NcmStatsDist2d* sd2, gdouble* xi, gdouble* xf )

No description available.

ybounds: void (* ybounds) ( NcmStatsDist2d* sd2, gdouble* yi, gdouble* yf )

No description available.

pdf: gdouble (* pdf) ( NcmStatsDist2d* sd2, const gdouble x, const gdouble y )

No description available.

m2lnp: gdouble (* m2lnp) ( NcmStatsDist2d* sd2, const gdouble x, const gdouble y )

No description available.

cdf: gdouble (* cdf) ( NcmStatsDist2d* sd2, const gdouble x, const gdouble y )

No description available.

marginal_pdf: gdouble (* marginal_pdf) ( NcmStatsDist2d* sd2, const gdouble xy )

No description available.

marginal_cdf: gdouble (* marginal_cdf) ( NcmStatsDist2d* sd2, const gdouble xy )

No description available.

marginal_inv_cdf: gdouble (* marginal_inv_cdf) ( NcmStatsDist2d* sd2, const gdouble u )

No description available.

inv_cond: gdouble (* inv_cond) ( NcmStatsDist2d* sd2, const gdouble u, const gdouble xy )

No description available.

prepare: void (* prepare) ( NcmStatsDist2d* sd2 )

No description available.

Virtual methods

NumCosmoMath.StatsDist2dClass.cdf

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

NumCosmoMath.StatsDist2dClass.inv_cond

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

NumCosmoMath.StatsDist2dClass.m2lnp

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

NumCosmoMath.StatsDist2dClass.marginal_cdf

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

NumCosmoMath.StatsDist2dClass.marginal_inv_cdf

Evaluates the inverse of ncm_stats_dist2d_eval_marginal_cdf().

NumCosmoMath.StatsDist2dClass.marginal_pdf

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

NumCosmoMath.StatsDist2dClass.pdf

Evaluates the density at (x, y).

NumCosmoMath.StatsDist2dClass.prepare

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

NumCosmoMath.StatsDist2dClass.xbounds

Gets the range of $x$ of the support.

NumCosmoMath.StatsDist2dClass.ybounds

Gets the range of $y$ of the support.