LogBarnesG
The logarithm of the Barnes G-function,
Wikipedia
Barnes G-functionMathWorldBarnesG-FunctionWikidataQ808463DLMF5.17FungrimLogBarnesG✓Fungrim entryWolfram LanguageLogBarnesGLogBarnesG(z)the log-Barnes function 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.
Examples
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/analytic/src/barnes-g.ts