13#ifndef ROOT_Math_UnuranDistrAdapter
14#define ROOT_Math_UnuranDistrAdapter
struct unur_distr UNUR_DISTR
TUnuranContDist class describing one dimensional continuous distribution.
double DPdf(double x) const
evaluate the derivative of the pdf.
double Pdf(double x) const
evaluate the Probability Density function.
double Cdf(double x) const
evaluate the integral (cdf) on the domain.
TUnuranDiscrDist class for one dimensional discrete distribution.
double Cdf(int x) const
evaluate the integral (cdf) on the given domain
double Pmf(int x) const
evaluate the distribution (probability mesh function) at the integer value x.
TUnuranMultiContDist class describing multi dimensional continuous distributions.
double Pdf(const double *x) const
evaluate the probability density function, used by UnuRan
double Derivative(const double *x, int icoord) const
evaluate the partial derivative for the given coordinate.
void Gradient(const double *x, double *grad) const
evaluate the gradient vector of the Pdf.
Free functions adapter needed by UNURAN for onedimensional continuous distributions.
TUnuranContDist Distribution
static double Cdf(double x, const UNUR_DISTR *dist)
evaluate the Cumulative distribution function, integral of the pdf
static double Pdf(double x, const UNUR_DISTR *dist)
evaluate the probality density function
static double Dpdf(double x, const UNUR_DISTR *dist)
evaluate the derivative of the pdf
Free functions adapter needed by UNURAN for one-dimensional discrete distribution.
TUnuranDiscrDist Distribution
static double Pmf(int x, const UNUR_DISTR *dist)
evaluate the probality mesh function
static double Cdf(int x, const UNUR_DISTR *dist)
evaluate the cumulative function
Free functions adapter needed by UNURAN for multidimensional cont distribution.
static double Pdf(const double *x, UNUR_DISTR *dist)
evaluate the probality density function
static int Dpdf(double *grad, const double *x, UNUR_DISTR *dist)
TUnuranMultiContDist Distribution
static double Pdpdf(const double *x, int coord, UNUR_DISTR *dist)