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) );
double Pdf(double x) const
evaluate the Probability Density function.
static double Pdpdf(const double *x, int coord, UNUR_DISTR *dist)
double dist(Rotation3D const &r1, Rotation3D const &r2)
TUnuranDiscrDist Distribution
double Pdf(const double *x) const
evaluate the probability density function, used by UnuRan
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
double Cdf(double x) const
evaluate the integral (cdf) on the domain.
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)
Free functions adapter needed by UNURAN for onedimensional continuous distributions.
double Pmf(int x) const
evaluate the distribution (probability mesh function) at the integer value x.
double DPdf(double x) const
evaluate the derivative of the pdf.
TUnuranDiscrDist class for one dimensional discrete distribution.
static double Pmf(int x, const UNUR_DISTR *dist)
evaluate the probality mesh function
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)
double Cdf(int x) const
evaluate the integral (cdf) on the given domain
TUnuranContDist class describing one dimensional continuous distribution.
double Derivative(const double *x, int icoord) const
evaluate the partial derivative for the given coordinate.
struct unur_distr UNUR_DISTR
void Gradient(const double *x, double *grad) const
evaluate the gradient vector of the Pdf.