LogBarnesG
The logarithm of the Barnes G-function, , as an analytic continuation — the form that stays finite where itself overflows.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Barnes G-functionMathWorldBarnesG-FunctionWikidataQ808463DLMF5.17FungrimLogBarnesG✓Fungrim entryWolfram LanguageLogBarnesG!LogBarnesG(z)the log-Barnes function , analytically continued.Julia
enumeratio_ball(log_barnes_g, z)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity) -> number | analyticreplaces compute-engine | always |
(complex | infinity) -> number | compute-engine | always |
Details
- as , with ( Glaisher's constant). This is the numeric kernel, reached through .
- It is the continuation, not of the value: on the negative real axis its imaginary part is a multiple of fixed by continuity from above, so while taken literally would be real. This matches Wolfram's .
- At positive integers it reduces through the exact superfactorial: , .
- at the nonpositive integers, where vanishes.
Plot
Examples
2 more kept as data, checked against the oraclesBasic #
Scope #
Properties #
About
| Examples | 16 |
|---|---|
| Checked against | Wolfram Language 12 agree4 differJulia 9 agree3 error |
| Crosswalk | WikipediaMathWorldWikidataDLMFFungrimFungrim entry ×18Wolfram LanguageJulia |
Implementation
referenceengine
notatioThe Weierstrass product in logarithms. Its terms are O(w³/k²), so it converges — slowly: a few hundred terms for a dozen digits, against the kernel's asymptotic series.
nativeengine
typescriptpackages/ce-patches/src/compute-engine/numerics/barnes-g.tsmapped
juliapackages/oracle/src/mappings.ts