Skip to content

Commit 292f292

Browse files
committed
add more reference
1 parent 14cfc73 commit 292f292

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/besselk.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
# The boundary should be carefully determined for accuracy and machine roundoff.
4747
# We use 10.41.4 from the Digital Library of Math Functions [5].
4848
# This is also 9.7.8 in Abramowitz and Stegun [6].
49+
# K_{nu}(nu*z) = sqrt(pi / 2nu) *exp(-nu*n)/(1+z^2)^1/4 * sum((-1^k)U_k(p) /nu^k)) for k=0 -> infty
4950
# The U polynomials are the most tricky. They are listed up to order 4 in Table 9.39
5051
# of [6]. For Float32, >=4 U polynomials are usually necessary. For Float64 values,
5152
# >= 8 orders are needed. However, this largely depends on the cutoff of order you need.
@@ -54,7 +55,7 @@
5455
#
5556
# However, calculation of these higher order U polynomials are tedious. These have been hand
5657
# calculated and somewhat crosschecked with symbolic math. There could be errors. They are listed
57-
# here as a reference as higher orders are impossible to find and needed for any meaningfully accurate calculation.
58+
# here as a reference as higher orders are impossible to find while being needed for any meaningfully accurate calculation.
5859

5960
# u0 = one(x)
6061
# u1 = p / 24 * (3 - 5*p^2) * -1 / v

0 commit comments

Comments
 (0)