Top |
NcmStatsDist2dNcmStatsDist2d — Abstract class for implementing two-dimensional probability distributions |
NcmStatsDist2d * | ncm_stats_dist2d_ref () |
void | ncm_stats_dist2d_free () |
void | ncm_stats_dist2d_clear () |
void | ncm_stats_dist2d_prepare () |
void | ncm_stats_dist2d_xbounds () |
void | ncm_stats_dist2d_ybounds () |
gdouble | ncm_stats_dist2d_eval_pdf () |
gdouble | ncm_stats_dist2d_eval_m2lnp () |
gdouble | ncm_stats_dist2d_eval_cdf () |
gdouble | ncm_stats_dist2d_eval_marginal_pdf () |
gdouble | ncm_stats_dist2d_eval_marginal_cdf () |
gdouble | ncm_stats_dist2d_eval_marginal_inv_cdf () |
gdouble | ncm_stats_dist2d_eval_inv_cond () |
NcmStatsDist2d *
ncm_stats_dist2d_ref (NcmStatsDist2d *sd2
);
Increases the reference count of sd2
.
void
ncm_stats_dist2d_free (NcmStatsDist2d *sd2
);
Decreases the reference count of sd2
.
void
ncm_stats_dist2d_clear (NcmStatsDist2d **sd2
);
Decreases the reference count of *sd2
and sets the pointer *sd2
to NULL.
void
ncm_stats_dist2d_prepare (NcmStatsDist2d *sd2
);
Prepares the object for calculations.
[virtual prepare]
void ncm_stats_dist2d_xbounds (NcmStatsDist2d *sd2
,gdouble *xi
,gdouble *xf
);
Gets the x bounds of the distribution.
[virtual xbounds]
void ncm_stats_dist2d_ybounds (NcmStatsDist2d *sd2
,gdouble *yi
,gdouble *yf
);
Gets the y bounds of the distribution.
[virtual ybounds]
gdouble ncm_stats_dist2d_eval_pdf (NcmStatsDist2d *sd2
,const gdouble x
,const gdouble y
);
Calculates the value of the probability density function (PDF) at x
and y
.
[virtual pdf]
gdouble ncm_stats_dist2d_eval_m2lnp (NcmStatsDist2d *sd2
,const gdouble x
,const gdouble y
);
Calculates the value of the $-2\ln(p(x, y))$ for the probability density function.
[virtual m2lnp]
gdouble ncm_stats_dist2d_eval_cdf (NcmStatsDist2d *sd2
,const gdouble x
,const gdouble y
);
Calculates the value of the cumulative distribution function (CDF) within [x_i, x
] and [y_i, y
].
[virtual cdf]
gdouble ncm_stats_dist2d_eval_marginal_pdf (NcmStatsDist2d *sd2
,const gdouble xy
);
Evaluates the marginal PDF at xy
.
[virtual marginal_pdf]
gdouble ncm_stats_dist2d_eval_marginal_cdf (NcmStatsDist2d *sd2
,const gdouble xy
);
Evaluates the marginal CDF at xy
.
[virtual marginal_pdf]
gdouble ncm_stats_dist2d_eval_marginal_inv_cdf (NcmStatsDist2d *sd2
,const gdouble xy
);
gdouble ncm_stats_dist2d_eval_inv_cond (NcmStatsDist2d *sd2
,const gdouble u
,const gdouble xy
);
Evaluates the inverse conditional CDF at u
and xy
.
[virtual inv_cond]