Skip to content

Commit 368f0e2

Browse files
fix invalid escape sequence
1 parent 455a3fe commit 368f0e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/specialfunctions.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ unsafe_gamma(z) = gamma(z)
179179
"""
180180
@lanczosratio(z, ϵ, c₀, c...)
181181
182-
Evaluate ``\\dfrac{\\sum_{k=0}^{N-1} \\frac{c[k+1]}{(z+k)(z+k+ϵ)}}{c + \\sum_{k=0}^{N-1} \\frac{c[k+1]}{z+k}}`.
182+
Evaluate ``\\dfrac{\\sum_{k=0}^{N-1} \\frac{c[k+1]}{(z+k)(z+k+\\epsilon)}}{c\_0 + \\sum_{k=0}^{N-1} \\frac{c[k+1]}{z+k}}`.
183183
184-
This ratio is used in the Lanczos approximation of ``\log\\frac{\\Gamma(z+\\epsilon)}{\\Gamma(z)}`` in
184+
This ratio is used in the Lanczos approximation of ``\\log\\frac{\\Gamma(z+\\epsilon)}{\\Gamma(z)}`` in
185185
186186
> N. Michel and M. V. Stoitsov, [Fast computation of the Gauss hypergeometric function with all its parameters complex with application to the Pöschl–Teller–Ginocchio potential wave functions](https://doi.org/10.1016/j.cpc.2007.11.007), Comp. Phys. Commun., 178:535–551, 2008.
187187
"""

0 commit comments

Comments
 (0)