gives the Barnes G-function .


  • BarnesG is also known as the double gamma function.
  • Mathematical function, suitable for both symbolic and numeric manipulation.
  • The Barnes G-function is defined as G(n)=product_(k=1)^(n-1)TemplateBox[{k}, Gamma] for positive integers and is otherwise defined as TemplateBox[{z}, BarnesG]=(2 pi)^(z/2) exp((z-1) (TemplateBox[{z}, LogGamma]-z/2)-TemplateBox[{{-, 2}, z}, PolyGamma2]).
  • The Barnes G-function satisfies .
  • BarnesG can be evaluated to arbitrary numerical precision.
  • BarnesG automatically threads over lists.
Introduced in 2008