13 #ifndef ROOT_Math_UnuranDistr
14 #define ROOT_Math_UnuranDistr
35 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
40 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
46 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
61 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
67 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
74 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
91 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
97 const Distribution *
func =
reinterpret_cast<const Distribution *
> ( unur_distr_get_extobj(dist) );
static double Pdpdf(const double *x, int coord, UNUR_DISTR *dist)
double dist(Rotation3D const &r1, Rotation3D const &r2)
TUnuranDiscrDist Distribution
Free functions adapter needed by UNURAN for multidimensional cont distribution.
static double Cdf(int x, const UNUR_DISTR *dist)
evaluate the cumulative function
Free functions adapter needed by UNURAN for one-dimensional discrete distribution.
static double Pdf(const double *x, UNUR_DISTR *dist)
evaluate the probality density function
TUnuranContDist Distribution
TUnuranMultiContDist Distribution
static double Dpdf(double x, const UNUR_DISTR *dist)
evaluate the derivative of the pdf
static int Dpdf(double *grad, const double *x, UNUR_DISTR *dist)
double Pdf(const double *x) const
evaluate the probability density function, used by UnuRan
double Pmf(int x) const
evaluate the distribution (probability mesh function) at the integer value x.
double Derivative(const double *x, int icoord) const
evaluate the partial derivative for the given coordinate.
Free functions adapter needed by UNURAN for onedimensional continuous distributions.
TUnuranDiscrDist class for one dimensional discrete distribution.
double DPdf(double x) const
evaluate the derivative of the pdf.
double Pdf(double x) const
evaluate the Probability Density function.
static double Pmf(int x, const UNUR_DISTR *dist)
evaluate the probality mesh function
void Gradient(const double *x, double *grad) const
evaluate the gradient vector of the Pdf.
double Cdf(double x) const
evaluate the integral (cdf) on the domain.
static double Pdf(double x, const UNUR_DISTR *dist)
evaluate the probality density function
TUnuranMultiContDist class describing multi dimensional continuous distributions. ...
static double Cdf(double x, const UNUR_DISTR *dist)
evaluate the Cumulative distribution function, integral of the pdf
double func(double *x, double *p)
TUnuranContDist class describing one dimensional continuous distribution.
double Cdf(int x) const
evaluate the integral (cdf) on the given domain
struct unur_distr UNUR_DISTR