(beta x y)
Returns the beta of x
and y
:
integral[0, 1] (t ^ (x
- 1) × (1 - t) ^ (y
- 1) * dt.
Returns the beta of `x` and `y`: integral[0, 1] (t ^ (`x` - 1) × (1 - t) ^ (`y` - 1) * dt.
(cdf-standard-normal x)
Returns the standard Normal cdf.
Returns the standard Normal cdf.
(erf x)
Returns the error function:
2 / (sqrt PI) × integral[0, x
] (e ^ - (t ^ 2) × dt).
Returns the error function: 2 / (sqrt PI) × integral[0, `x`] (e ^ - (t ^ 2) × dt).
(erf-derivative x)
Returns the derivative of the error function.
Returns the derivative of the error function.
(erfc x)
Returns the complementary error function.
Returns the complementary error function.
Expansion error for values 0.0 through 15.0 by 0.5.
Expansion error for values 0.0 through 15.0 by 0.5.
(gamma a)
Returns the gamma function: integral[0, inf] (t ^ (a
- 1) × e ^ -t × dt).
Although gamma is defined for positive a
, this function also allows for all
non-roughly-round-non+ a
.
Returns the gamma function: integral[0, inf] (t ^ (`a`- 1) × e ^ -t × dt). Although gamma is defined for positive `a`, this function also allows for all non-roughly-round-non+ `a`.
(gamma-derivative a)
Returns the derivative of the gamma of a
. a
> -3e8 because it becomes
slow.
Returns the derivative of the gamma of `a`. `a` > -3e8 because it becomes slow.
(incomplete-beta c x y)
Returns the lower beta:
integral[0, c
] (t ^ (x
- 1) × (1 - t) ^ (y
- 1) × dt. If Apache's
solution doesn't converge, then NaN is returned.
Returns the lower beta: integral[0, `c`] (t ^ (`x` - 1) × (1 - t) ^ (`y` - 1) × dt. If Apache's solution doesn't converge, then NaN is returned.
(inv-cdf-standard-normal cumulative-prob)
Returns the standard Normal inverse cdf.
Returns the standard Normal inverse cdf.
(inv-erf x)
Returns the inverse error function.
Returns the inverse error function.
(inv-erfc x)
Returns the inverse complementary error function.
Returns the inverse complementary error function.
(log-beta x y)
Returns the log-beta of x
and y
.
Returns the log-beta of `x` and `y`.
(log-gamma a)
Returns the log gamma of a
.
Returns the log gamma of `a`.
(log-gamma-derivative a)
Returns the derivative of the log gamma of a
. a
> -3e8 because
it becomes slow. Taken from Apache. Could use a better algorithm.
Returns the derivative of the log gamma of `a`. `a` > -3e8 because it becomes slow. Taken from Apache. Could use a better algorithm.
(lower-gamma a x)
Returns the lower incomplete gamma function:
integral[0, x
] (t ^ (a
- 1) × e ^ -t × dt).
Returns the lower incomplete gamma function: integral[0, `x`] (t ^ (`a` - 1) × e ^ -t × dt).
(multivariate-gamma a p)
Returns the multivariate gamma of a
with dimension p
.
Returns the multivariate gamma of `a` with dimension `p`.
(multivariate-log-gamma a p)
Returns the multivariate log gamma of a
with dimension p
.
Returns the multivariate log gamma of `a` with dimension `p`.
(regularized-beta c x y)
Returns the regularized beta. Equal to incomplete beta function divided by beta function. If Apache's solution doesn't converge, then NaN is returned.
Returns the regularized beta. Equal to incomplete beta function divided by beta function. If Apache's solution doesn't converge, then NaN is returned.
(regularized-gamma-p a x)
Returns the regularized gamma function P(a
, x
) = 1 - Q(a
, x
). Equal
to lower-gamma
function (a, x) divided by gamma
function (a
).
Returns the regularized gamma function P(`a`, `x`) = 1 - Q(`a`, `x`). Equal to [[lower-gamma]] function (a, x) divided by [[gamma]] function (`a`).
(regularized-gamma-q a x)
Returns the regularized gamma function Q(a
, x
) = 1 - P(a
, x
). Equal
to upper-gamma
function (a
, x
) divided by gamma
function (a
).
Returns the regularized gamma function Q(`a`, `x`) = 1 - P(`a`, `x`). Equal to [[upper-gamma]] function (`a`, `x`) divided by [[gamma]] function (`a`).
(trigamma a)
Returns the trigamma (2nd derivative of log-gamma) of a
. Approximated for
a
< -1e7 because it becomes slow. Taken from Apache. Could use a better
algorithm.
Returns the trigamma (2nd derivative of log-gamma) of `a`. Approximated for `a` < -1e7 because it becomes slow. Taken from Apache. Could use a better algorithm.
(upper-gamma a x)
Returns the upper incomplete gamma function:
integral[x
, inf] (t ^ (a
- 1) × e ^ -t × dt).
Returns the upper incomplete gamma function: integral[`x`, inf] (t ^ (`a` - 1) × e ^ -t × dt).
(upper-gamma-derivative-x a x)
Returns the upper gamma derivative x
.
Returns the upper gamma derivative `x`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close