6 std::cout <<
"Bernoulli CDF at x=1, p=0.5: "
8 std::cout <<
"Beta PDF at x=0.5, alpha=2, beta=2: "
10 std::cout <<
"Binomial PDF at k=2, n=5, p=0.5: "
12 std::cout <<
"Cauchy PDF at x=0, x0=0, gamma=1: "
14 std::cout <<
"Chi-squared PDF at x=2, k=3: "
16 std::cout <<
"Exponential PDF at x=1, lambda=0.5: "
18 std::cout <<
"F Distribution PDF at x=1, df1=2, df2=3: "
20 std::cout <<
"Gamma PDF at x=2, alpha=2, beta=0.5: "
22 std::cout <<
"Inverse-Gamma PDF at x=1, alpha=2, beta=0.5: "
24 std::cout <<
"Inverse-Gaussian PDF at x=1, mu=2, lambda=0.5: "
26 std::cout <<
"Laplace PDF at x=1, mu=0, b=1: "
28 std::cout <<
"Logistic PDF at x=1, mu=0, s=1: "
30 std::cout <<
"Log-Normal PDF at x=2, mu=1, sigma=0.5: "
32 std::cout <<
"Gaussian PDF at x=1, mu=0, sigma=1: "
34 std::cout <<
"Poisson PDF at k=2, lambda=1: "
38 std::cout <<
"Student's t PDF at x=1, df=2: "
40 std::cout <<
"Uniform PDF at x=1, a=0, b=2: "
42 std::cout <<
"Weibull PDF at x=2, k=2, lambda=1: "
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.