BarnesG
The Barnes G-function
Wikipedia
Barnes G-functionMathWorldBarnesG-FunctionWikidataQ808463DLMF5.17.E1FungrimBarnesG✓Fungrim entryWolfram LanguageBarnesGBarnesG(z)the Barnes G-function Details
- Functional equation
, the analogue of one level up; see Gamma. - At positive integers
— the superfactorial: , , , , . Exact and arbitrarily large. - Zeros at the nonpositive integers
(where has poles); entire, with no poles of its own. - Numeric evaluation exponentiates LogBarnesG: the asymptotic series for
for large , reached through the functional equation in logarithms. Complex supported; aligned with Wolfram's . - The value itself overflows a double past
(G(60) ); use LogBarnesG there, or stay exact at integers.
Examples
Implementation
referenceengine
notatioG = exp(ln G) over the Weierstrass series of LogBarnesG; see there for what it costs to evaluate.
nativeengine
typescriptpackages/analytic/src/barnes-g.tsexp of the LogBarnesG kernel; exact superfactorials at the integers come from the head.
mappedexternal
wolfram / mpmathpackages/oracle/src/mappings.tsBarnesG[z] and mpmath.barnesg(z), same normalisation.
See also: LogBarnesG, Gamma, LogGamma, Factorial