You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/refs.bib
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
@misc{NIST:DLMF,
2
2
key = {DLMF},
3
3
title = {NIST Digital Library of Mathematical Functions},
4
-
editor = {Olver, F. W. J. and Olde Daalhuis, A. B. and Lozier, D. W. and Schneider, B. I. and Boisvert, R. F. and Clark, C. W. and Miller, B. R. and Saunders, B. V. and Cohl, H. S. and McClain, M. A.},
4
+
note = {Olver, F. W. J. and Olde Daalhuis, A. B. and Lozier, D. W. and Schneider, B. I. and Boisvert, R. F. and Clark, C. W. and Miller, B. R. and Saunders, B. V. and Cohl, H. S. and McClain, M. A., eds.},
5
5
year = {2025},
6
6
institution = {National Institute of Standards and Technology (NIST)},
7
7
howpublished = {[{https://dlmf.nist.gov/}]({https://dlmf.nist.gov/}), Release 1.2.4 of 2025-03-15},
Copy file name to clipboardExpand all lines: src/uncertainbessels/UncertainBessels.jl
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,13 @@ Uncertainty-aware wrappers for Bessel functions.
6
6
[`UncertainBessels`](@ref) lifts selected functions from `SpecialFunctions` so they accept
7
7
`Measurement` and `Complex{Measurement}` inputs. The wrapper evaluates the
8
8
underlying function at the nominal complex argument and propagates uncertainty
9
-
via first-order finite differences using the four partial derivatives ``\\frac{\\partial \\Re f}{\\partial x}, \\frac{\\partial \\Re f}{\\partial y}, \\frac{\\partial \\Im f}{\\partial x}, \\frac{\\partial \\Im f}{\\partial y}`` with ``x = \\Re z`` and ``y = \\Im z``. No new Bessel algorithms are implemented:
10
-
for plain numeric inputs, results and numerical behaviour are those of
9
+
via first-order finite differences using the four partial derivatives ``\\frac{\\partial \\mathrm{Re} \\, f}{\\partial x}, \\frac{\\partial \\mathrm{Re} \\, f}{\\partial y}, \\frac{\\partial \\mathrm{Im} \\, f}{\\partial x}, \\frac{\\partial \\mathrm{Im} \\, f}{\\partial y}`` with ``x = \\mathrm{Re}(z)`` and ``y = \\mathrm{Im}(z)``. No new Bessel algorithms are implemented: for plain numeric inputs, results and numerical behaviour are those of
11
10
`SpecialFunctions`.
12
11
13
12
Numerical scaling (as defined by `SpecialFunctions`) is supported for the
14
13
“x” variants (e.g. `besselix`, `besselkx`, `besseljx`, …) to improve stability
15
14
for large or complex arguments. In particular, the modified functions use
16
-
exponential factors to temper growth along ``\\Re z`` (e.g. ``I_\\nu`` and ``K_\\nu``);
15
+
exponential factors to temper growth along ``\\mathrm{Re}(z)`` (e.g. ``I_\\nu`` and ``K_\\nu``);
17
16
other scaled variants follow conventions in `SpecialFunctions` and DLMF guidance
18
17
for complex arguments. See [NIST:DLMF](@cite) and [6897971](@cite).
19
18
@@ -22,12 +21,13 @@ for complex arguments. See [NIST:DLMF](@cite) and [6897971](@cite).
22
21
- Thin, uncertainty-aware wrappers around `SpecialFunctions` (`besselj`, `bessely`,
23
22
`besseli`, `besselk`, `besselh`) and their scaled counterparts (`…x`).
24
23
- For `Complex{Measurement}` inputs, uncertainty is propagated using the 4-component
25
-
gradient with respect to ``\\Re z`` and ``\\Im z``.
24
+
gradient with respect to ``\\mathrm{Re}(z)`` and ``\\mathrm{Im}(z)``.
26
25
- For `Measurement` (real) inputs, a 1-D finite-difference derivative is used.
27
26
- No change in semantics for `Real`/`Complex` inputs: calls delegate to `SpecialFunctions`.
- Scaled modified Bessels remove large exponential factors along ``\\Re z`` (e.g., ``I_\\nu`` and ``K_\\nu`` are scaled by opposite signs of ``|\\Re z|``), improving conditioning. Scaled forms for the other families follow the definitions in `SpecialFunctions` and DLMF.
50
+
- Scaled modified Bessels remove large exponential factors along ``\\mathrm{Re}(z)`` (e.g., ``I_\\nu`` and ``K_\\nu`` are scaled by opposite signs of ``|\\mathrm{Re}(z)|``), improving conditioning. Scaled forms for the other families follow the definitions in `SpecialFunctions` and DLMF.
49
51
- Uncertainty propagation is first order (linearization at the nominal point).
50
52
Large uncertainties or strong nonlinearity may reduce accuracy.
0 commit comments