Bessel
Numerically stable scaled modified Bessel functions for state-space GPs.
Leaf module imported by both sde.py and kernels.py.
See plans/2026-04-21-state-space-gps-design.md Β§Bessel stability.
Three regimes are dispatched via nested jax.lax.cond so that only the taken
branch contributes under jit and grad:
c > truncation_order: forward recurrence seeded byi0e/i1e1e-8 <= c <= truncation_order: Miller's downward recurrence rescaled byi0e(c)c < 1e-8: power-seriesΔ¨_k(c) β (c/2)^k / k! Β· e^{-c}