Liking cljdoc? Tell your friends :D

fastmath.special.gamma

Gamma function over the whole double range (internal; see fastmath.special/gamma).

Gamma function over the whole double range (internal; see [[fastmath.special/gamma]]).
raw docstring

digammaclj

(digamma x)

Digamma function psi(x): NaN at the negative integers, -Inf at +0.0 and Inf at -0.0 (one-sided limits).

Digamma function `psi(x)`: `NaN` at the negative integers, `-Inf` at `+0.0` and `Inf` at `-0.0` (one-sided limits).
raw docstring

gammaclj

(gamma x)

Gamma function for any double: NaN at the poles (zero and negative integers) and at -Inf, Inf at Inf, overflow to Inf above 171.62.

Gamma function for any double: `NaN` at the poles (zero and negative integers) and at `-Inf`, `Inf` at `Inf`, overflow to `Inf` above 171.62.
raw docstring

gamma-pole?clj

(gamma-pole? x)

True for a pole of Gamma: zero and the negative integers.

True for a pole of Gamma: zero and the negative integers.
raw docstring

gamma-ratiocljmacro

(gamma-ratio nums dens)

Gamma(n1)...Gamma(nk) / (Gamma(d1)...Gamma(dl)).

Evaluated directly (a pole gives Inf, as unsafe-gamma); when the products overflow or underflow and no argument is a pole it is evaluated through log|Gamma|.

`Gamma(n1)...Gamma(nk) / (Gamma(d1)...Gamma(dl))`.

Evaluated directly (a pole gives `Inf`, as [[unsafe-gamma]]); when the products overflow or underflow and no argument is a pole it is evaluated through `log|Gamma|`.
raw docstring

gamma-ratio-fallbackclj

(gamma-ratio-fallback ns ds)

Log-space value of the gamma ratio, used when the products overflow or underflow.

ns and ds are the numerator and denominator arguments.

Log-space value of the gamma ratio, used when the products overflow or underflow.

`ns` and `ds` are the numerator and denominator arguments.
raw docstring

gamma-signclj

(gamma-sign x)

Sign of Gamma(x) (+-1.0) for a non-pole x.

Sign of `Gamma(x)` (`+-1.0`) for a non-pole `x`.
raw docstring

log-gammaclj

(log-gamma x)

log|Gamma(x)| for any double: Inf at the poles and at Inf, NaN at -Inf.

`log|Gamma(x)|` for any double: `Inf` at the poles and at `Inf`, `NaN` at `-Inf`.
raw docstring

unsafe-gammaclj

(unsafe-gamma x)

Gamma(x) with +Inf (instead of NaN) at the poles, so that 1/Gamma is 0 there (for the hypergeometric transformations).

`Gamma(x)` with `+Inf` (instead of `NaN`) at the poles, so that `1/Gamma` is `0` there (for the hypergeometric transformations).
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close