50 static double bernoulli(
double x,
double p);
61 static double beta(
double x,
double alpha,
double beta);
72 static double binomial(
int k,
int n,
double p);
83 static double cauchy(
double x,
double x0,
double gamma);
103 static double exponential(
double x,
double lambda);
114 static double f_dist(
double x,
int df1,
int df2);
125 static double gamma(
double x,
double alpha,
double beta);
158 static double laplace(
double x,
double mu,
double b);
169 static double logistic(
double x,
double mu,
double s);
181 static double log_normal(
double x,
double mu,
double sigma);
192 static double gaussian(
double x,
double mu,
double sigma);
202 static double poisson(
int k,
double lambda);
221 static double student_t(
double x,
int df);
232 static double uniform(
double x,
double a,
double b);
243 static double weibull(
double x,
double k,
double lambda);
Class representing Probability Distribution Functions (PDFs)
static double bernoulli(double x, double p)
Calculates the probability of success in a Bernoulli trial.
static double gamma(double x, double alpha, double beta)
Calculates the probability density function (PDF) of the gamma distribution.
static double beta(double x, double alpha, double beta)
Calculates the probability density function (PDF) of the Beta distribution.
static double poisson(int k, double lambda)
Calculates the probability density function (PDF) of the Poisson distribution.
static double gaussian(double x, double mu, double sigma)
Calculates the probability density function (PDF) of the Gaussian (normal) distribution.
static double log_normal(double x, double mu, double sigma)
Calculates the probability density function (PDF) of the log-normal distribution.
static double binomial(int k, int n, double p)
Calculates the probability of observing k successes in n independent Bernoulli trials.
static double uniform(double x, double a, double b)
Calculates the probability density function (PDF) of the uniform distribution.
static double f_dist(double x, int df1, int df2)
Calculates the probability density function (PDF) of the F distribution.
static double exponential(double x, double lambda)
Calculates the probability density function (PDF) of the exponential distribution.
static double inverse_gaussian(double x, double mu, double lambda)
Calculates the probability density function (PDF) of the inverse Gaussian distribution.
static double inverse_gamma(double x, double alpha, double beta)
Calculates the probability density function (PDF) of the inverse gamma distribution.
static double weibull(double x, double k, double lambda)
Calculates the probability density function (PDF) of the Weibull distribution.
static double chi_squared(double x, int k)
Calculates the probability density function (PDF) of the chi-squared distribution.
static double laplace(double x, double mu, double b)
Calculates the probability density function (PDF) of the Laplace distribution.
static double cauchy(double x, double x0, double gamma)
Calculates the probability density function (PDF) of the Cauchy distribution.
static double student_t(double x, int df)
Calculates the probability density function (PDF) of Student's t distribution.
static double rademacher(int k)
Calculates the probability density function (PDF) of the Rademacher distribution.
static double logistic(double x, double mu, double s)
Calculates the probability density function (PDF) of the logistic distribution.
static double factorial(int n)
Calculates the factorial of an integer.
static double beta_function(double alpha, double beta)
Calculates the beta function.
static double binomial_coefficient(int n, int k)
Calculates the binomial coefficient "n choose k".
The source C++ openGPMP namespace.