jaxpolylog.polylogs._zero_branch_coeffs#
- _zero_branch_coeffs(s: int, P: int) tuple[source]#
Precompute
c[k] = ζ(s-k) / k!fork = 0..P-1.Branch table:
arg = s-k ≥ 2:ζ(arg)via_zeta_pos_int().arg = 1(k = s-1): coefficient set to 0 (cancels the explicitlog(-μ)term injax_polylog()).arg = 0(k = s):ζ(0) = -1/2.arg < 0,n = 1 - arg:nodd ≥ 3:B_n = 0→ coefficient = 0.n = 2meven: coefficient= -B_{2m}/(2m · k!)as an exactFraction, then floated. Never materialisesB_{2m}ork!separately.