Class

NumCosmoMathStatsDist2d

Description [src]

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

Base class for implementing two-dimensional probability distributions.

Abstract class to reconstruct an arbitrary two-dimensional probability distribution.

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

Calculates the value of the cumulative distribution function (CDF) within [x_i, x] and [y_i, y].

ncm_stats_dist2d_eval_inv_cond

Evaluates the inverse conditional CDF at u and xy.

ncm_stats_dist2d_eval_m2lnp

Calculates the value of the $-2\ln(p(x, y))$ for the probability density function.

ncm_stats_dist2d_eval_marginal_cdf

Evaluates the marginal CDF at xy.

ncm_stats_dist2d_eval_marginal_inv_cdf
No description available.

ncm_stats_dist2d_eval_marginal_pdf

Evaluates the marginal PDF at xy.

ncm_stats_dist2d_eval_pdf

Calculates the value of the probability density function (PDF) at x and y.

ncm_stats_dist2d_free

Decreases the reference count of sd2.

ncm_stats_dist2d_prepare

Prepares the object for calculations.

ncm_stats_dist2d_ref

Increases the reference count of sd2.

ncm_stats_dist2d_xbounds

Gets the x bounds of the distribution.

ncm_stats_dist2d_ybounds

Gets the y bounds of the distribution.

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

Calculates the value of the cumulative distribution function (CDF) within [x_i, x] and [y_i, y].

NumCosmoMath.StatsDist2dClass.inv_cond

Evaluates the inverse conditional CDF at u and xy.

NumCosmoMath.StatsDist2dClass.m2lnp

Calculates the value of the $-2\ln(p(x, y))$ for the probability density function.

NumCosmoMath.StatsDist2dClass.marginal_cdf
No description available.

NumCosmoMath.StatsDist2dClass.marginal_pdf

Evaluates the marginal CDF at xy.

NumCosmoMath.StatsDist2dClass.pdf

Calculates the value of the probability density function (PDF) at x and y.

NumCosmoMath.StatsDist2dClass.prepare

Prepares the object for calculations.

NumCosmoMath.StatsDist2dClass.xbounds

Gets the x bounds of the distribution.

NumCosmoMath.StatsDist2dClass.ybounds

Gets the y bounds of the distribution.