Internal Hypergeometric helper functions.
Internal Hypergeometric helper functions.
(ainf abcw m eps)Internal helper of the Gauss hypergeometric function: the port of Ainf of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `Ainf` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(aone abcw m eps)Internal helper of the Gauss hypergeometric function: the port of Aone of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `Aone` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(binf abcw m eps)Internal helper of the Gauss hypergeometric function: the port of Binf of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `Binf` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(bone abcw m eps)Internal helper of the Gauss hypergeometric function: the port of Bone of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `Bone` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(cosnasinsqrt n x)Internal helper of the Gauss hypergeometric function: the port of cosnasinsqrt of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `cosnasinsqrt` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(E x eps)Internal helper of the Gauss hypergeometric function: the port of E of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `E` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(expm1nlog1p n x)Internal helper of the Gauss hypergeometric function: the port of expm1nlog1p of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `expm1nlog1p` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(expnlog1pcoshatanhsqrt n x)Internal helper of the Gauss hypergeometric function: the port of expnlog1pcoshatanhsqrt of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `expnlog1pcoshatanhsqrt` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(G x eps)Internal helper of the Gauss hypergeometric function: the port of G of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `G` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(general-2F1 a b c x)Internal helper of the Gauss hypergeometric function: the port of _₂F₁general of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `_₂F₁general` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(H x eps)Internal helper of the Gauss hypergeometric function: the port of H of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `H` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(hypergeometric-2F1 a b c x)Gauss's hypergeometric ₂F₁ function.
Returns ##NaN for a terminating series (a or b a non-positive integer) of degree above 1e7 (the polynomial sum is linear in the degree and loses about n times the machine epsilon).
Gauss's hypergeometric ₂F₁ function. Returns `##NaN` for a terminating series (`a` or `b` a non-positive integer) of degree above `1e7` (the polynomial sum is linear in the degree and loses about `n` times the machine epsilon).
(hypergeometric-pFq-maclaurin ps qs z)(hypergeometric-pFq-maclaurin ps qs z max-iters)hypergeometric-pFq using MacLaurin series.
max-iters is set to 10000 by default.
hypergeometric-pFq using MacLaurin series. `max-iters` is set to 10000 by default.
(hypergeometric-pFq-maclaurin-complex ps qs z)(hypergeometric-pFq-maclaurin-complex ps qs z max-iters)Hypergeometric-pFq using MacLaurin series on complex numbers
max-iters is set to 10000 by default.
Hypergeometric-pFq using MacLaurin series on complex numbers `max-iters` is set to 10000 by default.
(hypergeometric-pFq-weniger ps qs z)(hypergeometric-pFq-weniger ps qs z max-iters)Hypergeometric-pFq using Weniger acceleration on real numbers.
max-iters is set to 1048576 by default, matching the Julia
HypergeometricFunctions.jl reference implementation's own KMAX and
this file's other single-arity Weniger ports (weniger-1F1,
weniger-2F0, weniger-0F2).
See hypergeometric-pFq-weniger-with-reason for a variant that also
reports whether the returned value actually converged.
Hypergeometric-pFq using Weniger acceleration on real numbers. `max-iters` is set to 1048576 by default, matching the Julia `HypergeometricFunctions.jl` reference implementation's own `KMAX` and this file's other single-arity Weniger ports (`weniger-1F1`, `weniger-2F0`, `weniger-0F2`). See [[hypergeometric-pFq-weniger-with-reason]] for a variant that also reports whether the returned value actually converged.
(hypergeometric-pFq-weniger-complex ps qs z)(hypergeometric-pFq-weniger-complex ps qs z max-iters)Hypergeometric-pFq using Weniger acceleration on complex numbers.
max-iters is set to 1048576 by default, matching the Julia
HypergeometricFunctions.jl reference implementation's own KMAX and
this file's other single-arity Weniger ports.
See hypergeometric-pFq-weniger-complex-with-reason for a variant
that also reports whether the returned value actually converged.
Hypergeometric-pFq using Weniger acceleration on complex numbers. `max-iters` is set to 1048576 by default, matching the Julia `HypergeometricFunctions.jl` reference implementation's own `KMAX` and this file's other single-arity Weniger ports. See [[hypergeometric-pFq-weniger-complex-with-reason]] for a variant that also reports whether the returned value actually converged.
(hypergeometric-pFq-weniger-complex-with-reason ps qs z)(hypergeometric-pFq-weniger-complex-with-reason ps qs z max-iters)hypergeometric-pFq-weniger-complex, but returns {:value :reason}
instead of a bare [[Vec2]] -- see [[pfq-weniger-exit-result-complex]]
for the possible :reasons. Lets a caller judge whether :value is
trustworthy (only :reason :converged is), rather than only ever
seeing a number.
max-iters is set to 1048576 by default, matching
hypergeometric-pFq-weniger-complex.
[[hypergeometric-pFq-weniger-complex]], but returns `{:value :reason}`
instead of a bare [[Vec2]] -- see [[pfq-weniger-exit-result-complex]]
for the possible `:reason`s. Lets a caller judge whether `:value` is
trustworthy (only `:reason :converged` is), rather than only ever
seeing a number.
`max-iters` is set to 1048576 by default, matching
[[hypergeometric-pFq-weniger-complex]].(hypergeometric-pFq-weniger-with-reason ps qs z)(hypergeometric-pFq-weniger-with-reason ps qs z max-iters)hypergeometric-pFq-weniger, but returns a map with :value and :reason instead
of a bare double -- see [[pfq-weniger-exit-result]] for the possible
:reasons. Lets a caller judge whether :value is trustworthy (only
:reason :converged is), rather than only ever seeing a number.
max-iters is set to 1048576 by default, matching
hypergeometric-pFq-weniger.
[[hypergeometric-pFq-weniger]], but returns a map with `:value` and `:reason` instead of a bare double -- see [[pfq-weniger-exit-result]] for the possible `:reason`s. Lets a caller judge whether `:value` is trustworthy (only `:reason :converged` is), rather than only ever seeing a number. `max-iters` is set to 1048576 by default, matching [[hypergeometric-pFq-weniger]].
(inf-2F1 a b c x)Internal helper of the Gauss hypergeometric function: the port of _₂F₁Inf of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `_₂F₁Inf` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(lanczos-ratio x eps)Internal helper of the Gauss hypergeometric function: the port of lanczosratio of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `lanczosratio` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(log1pover x)Internal helper of the Gauss hypergeometric function: the port of log1pover of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `log1pover` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(maclaurin-0F2 a b x)Internal helper of the Gauss hypergeometric function: the port of _₀F₂maclaurin of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `_₀F₂maclaurin` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(maclaurin-2F1 a b c x)Internal helper of the Gauss hypergeometric function: the port of _₂F₁maclaurin of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `_₂F₁maclaurin` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(one-2F1 a b c x)Internal helper of the Gauss hypergeometric function: the port of _₂F₁one of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `_₂F₁one` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(P x eps m)Internal helper of the Gauss hypergeometric function: the port of P of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `P` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(recinfa0 abcw m eps)Internal helper of the Gauss hypergeometric function: the port of recInfα₀ of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `recInfα₀` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(recinfb0 abcw m eps)Internal helper of the Gauss hypergeometric function: the port of recInfβ₀ of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `recInfβ₀` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(recinfg0 abcw m eps)Internal helper of the Gauss hypergeometric function: the port of recInfγ₀ of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `recInfγ₀` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(reconea0 abcw m eps)Internal helper of the Gauss hypergeometric function: the port of reconeα₀ of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `reconeα₀` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(reconeb0 abcw m eps)Internal helper of the Gauss hypergeometric function: the port of reconeβ₀ of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `reconeβ₀` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(sinnasinsqrt n x)Internal helper of the Gauss hypergeometric function: the port of sinnasinsqrt of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `sinnasinsqrt` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(sqrtasinsqrt x)Internal helper of the Gauss hypergeometric function: the port of sqrtasinsqrt of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `sqrtasinsqrt` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(sqrtatanhsqrt x)Internal helper of the Gauss hypergeometric function: the port of sqrtatanhsqrt of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `sqrtatanhsqrt` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(terminating-2F1 a b c x)Polynomial 2F1(a,b,c,x) for a or b a non-positive integer, valid for any x.
Precondition: c is not a pole reachable before the series terminates (the caller checks it).
The alternating direct sum cancels for a large degree. The transformations
2F1(-n,b;c;x) = (1-x)^n 2F1(-n,c-b;c;x/(x-1)) (Pfaff, x < 1) and
2F1(-n,b;c;x) = (c-b)_n/(c)_n 2F1(-n,b;b-c-n+1;1-x) (DLMF 15.8.7, x <= 1, when regular) are evaluated too,
and the sum with the smallest condition number sum |term| / |sum| is returned.
Polynomial `2F1(a,b,c,x)` for `a` or `b` a non-positive integer, valid for any `x`. Precondition: `c` is not a pole reachable before the series terminates (the caller checks it). The alternating direct sum cancels for a large degree. The transformations `2F1(-n,b;c;x) = (1-x)^n 2F1(-n,c-b;c;x/(x-1))` (Pfaff, `x < 1`) and `2F1(-n,b;c;x) = (c-b)_n/(c)_n 2F1(-n,b;b-c-n+1;1-x)` (DLMF 15.8.7, `x <= 1`, when regular) are evaluated too, and the sum with the smallest condition number `sum |term| / |sum|` is returned.
(weniger-0F2 a b x)Internal helper of the Gauss hypergeometric function: the port of weniger 0F2 of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `weniger 0F2` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(weniger-1F1 a b x)Internal helper of the Gauss hypergeometric function: the port of weniger 1F1 of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `weniger 1F1` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(weniger-2F0 a b x)Internal helper of the Gauss hypergeometric function: the port of weniger 2F0 of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `weniger 2F0` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
(weniger-2F1 a b c x)Internal helper of the Gauss hypergeometric function: the port of weniger 2F1 of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see fastmath.special/hypergeometric-2F1.
Internal helper of the Gauss hypergeometric function: the port of `weniger 2F1` of HypergeometricFunctions.jl (Michel and Stoitsov 2008 transformations); not part of the public API, see [[fastmath.special/hypergeometric-2F1]].
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |