BarnesG[z]
给出巴尼斯 G 函数
.
BarnesG
BarnesG[z]
给出巴尼斯 G 函数
.
范例
打开所有单元 关闭所有单元基本范例 (5)
BarnesG[10]Plot[BarnesG[z], {z, -4, 4}]ComplexPlot3D[BarnesG[z], {z, -1 - I, 1 + I}, PlotLegends -> Automatic]Series[BarnesG[x], {x, 0, 2}]//FullSimplify在 Infinity 的级数展开:
Series[BarnesG[x], {x, ∞, 2}]范围 (27)
数值运算 (6)
BarnesG[0.5]BarnesG[3]N[BarnesG[1 / 7], 20]BarnesG[0.222255555666222222222222222]BarnesG[1.3 + I]BarnesG[0.5`1000]//TimingBarnesG[0.7`1000];//Timing使用 Interval 和 CenteredInterval 对象计算最坏情况下的保证区间:
BarnesG[Interval[{1.17, 1.18}]]BarnesG[CenteredInterval[1 / 2, 1 / 1000]]或用 Around 计算一般情况下的统计区间:
BarnesG[ Around[2.1, 0.01]]BarnesG[{{1 / 2, 1}, {1, 1 / 2}}]或用 MatrixFunction 计算矩阵形式的 BarnesG 函数:
MatrixFunction[BarnesG[#]&, {{1 / 2, 1}, {1, 1 / 2}}]//FullSimplify特殊值 (4)
BarnesG[Infinity]BarnesG[0]BarnesG[{-1 / 2, 3 / 2}]BarnesG[{-3 / 4, 1 / 4}]xmax = x /. N@Solve[D[BarnesG[x], x] == 0 && 0 < x < 2, x, Reals][[1]]//QuietPlot[BarnesG[x], {x, -1, 4}, Epilog -> Style[Point[{xmax, BarnesG[xmax]}], PointSize[Large], Red]]可视化 (2)
绘制 BarnesG 函数:
Plot[BarnesG[x], {x, -4, 4}]ComplexContourPlot[Re[BarnesG[z]], {z, -3 - 4I, 3 + 4I}, Contours -> 24]ComplexContourPlot[Im[BarnesG[z]], {z, -3 - 4I, 3 + 4I}, Contours -> 24]函数的属性 (10)
BarnesG 对所有实数和复数有定义:
FunctionDomain[BarnesG[x], x]FunctionDomain[BarnesG[z], z, Complexes]BarnesG 的近似值域:
FunctionRange[BarnesG[x], x, y]BarnesG 是 x 的解析函数:
FunctionAnalytic[BarnesG[x], x]BarnesG 既不是非递增,也不是非递减:
FunctionMonotonicity[BarnesG[x], x]BarnesG 不是单射函数:
FunctionInjective[BarnesG[x], x]Plot[{BarnesG[x], .2}, {x, -4, 4}]BarnesG 是满射函数:
FunctionSurjective[BarnesG[x], x]Plot[{BarnesG[x], 5}, {x, -5, 5}]BarnesG 既不是非负,也不是非正:
FunctionSign[BarnesG[x], x]BarnesG 没有奇点或断点:
FunctionSingularities[BarnesG[x], x]FunctionDiscontinuities[BarnesG[x], x]BarnesG 既不凸,也不凹:
FunctionConvexity[BarnesG[x], x]TraditionalForm 格式:
BarnesG[z]//TraditionalForm微分 (2)
级数展开式 (3)
用 Series 求泰勒展开式:
Series[BarnesG[x], {x, 0, 2}]//Normal//FullSimplifyterms = Normal@FullSimplify[Table[Series[BarnesG[x], {x, 0, m}], {m, 1, 5, 2}]];
Plot[{BarnesG[x], terms}, {x, 0, 10}, PlotRange -> {-100, 100}]Series[BarnesG[x], {x, x0, 2}]// Normal//FullSimplify求 Infinity 处的级数展开式:
Series[BarnesG[x], {x, Infinity, 1}]应用 (5)
BarnesG 的积分值与 superfactorial 相关:
Table[ Product[k!, {k, n}], {n, 10}]Table[BarnesG[n + 2], {n, 10}]BarnesG 可以通过符号求解产生:
Product[Gamma[i] / CatalanNumber[i], i]Sum[Log[Pochhammer[3, i]], {i, 0, n}]RSolve[y[i + 1] == i! y[i], y, i]Log2[BarnesG[500]]//NBitLength[BarnesG[500]]当
为一个奇质数时,威尔逊定理(Wilson's theorem) 有
. 对前几个质数进行验证:
Table[Mod[(p - 1)!!, p] == Mod[BarnesG[p + 1], p], {p, Prime[Range[2, 11]]}]cmat[b_, n_Integer] := CauchyMatrix[b + Range[n], Range[n]]MatrixForm[cmat[b, 5]]这个柯西矩阵的行列式可以用 BarnesG 表示. 在前几种情况下,用
的具体数值进行验证:
With[{b = 3, n = 9},
Table[Det[cmat[b, n]] == (BarnesG[n + b + 2]^2BarnesG[n + 1]^2/BarnesG[b + 2]BarnesG[2n + b + 2]), {k, n}]]属性和关系 (2)
BarnesG 满足一个微分方程:
DSolve[{y[1] == 1, y'[z] == y[z] BarnesG'[z] / BarnesG[z]}, y, z]y[15] /. First[%]//FullSimplifyBarnesG[15]FindSequenceFunction 可以识别 BarnesG 序列:
Table[BarnesG[n], {n, 10}]FindSequenceFunction[%, n]巧妙范例 (3)
用贝尔数(Bell number)建立的汉克尔矩阵的行列式:
Table[Det[HankelMatrix[BellB[Range[n]], BellB[Range[n, 2n - 1]]]], {n, 10}]Table[BarnesG[n + 1], {n, 10}]Table[Det[HankelMatrix[EulerE[Range[0, n - 1]], EulerE[Range[n - 1, 2n - 2]]]], {n, 10}]Table[(-1)^Binomial[n, 2]BarnesG[n + 1]^2, {n, 10}]hilbertDet[n_] := BarnesG[n + 1] ^ 4 / BarnesG[2 n + 1]Table[hilbertDet[n] == Det[HilbertMatrix[n]], {n, 2, 9}]相关指南
相关链接
文本
Wolfram Research (2008),BarnesG,Wolfram 语言函数,https://reference.wolfram.com/language/ref/BarnesG.html (更新于 2022 年).
CMS
Wolfram 语言. 2008. "BarnesG." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2022. https://reference.wolfram.com/language/ref/BarnesG.html.
APA
Wolfram 语言. (2008). BarnesG. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/BarnesG.html 年
BibTeX
@misc{reference.wolfram_2026_barnesg, author="Wolfram Research", title="{BarnesG}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/BarnesG.html}", note=[Accessed: 11-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_barnesg, organization={Wolfram Research}, title={BarnesG}, year={2022}, url={https://reference.wolfram.com/language/ref/BarnesG.html}, note=[Accessed: 11-August-2026]}