NEWS | R Documentation |
News for R Package Bessel
Changes in version 0.6-1 (2024-07-29, svn r323)
New Features
Using
cospi(nu)
instead ofcos(pi*nu)
, for negativenu
, both inBesselJ()
andBesselY()
may increase accuracy.
Bug Fixes
Rd-crossrefs: replace
\linkS4class{mpfr}
by\link[Rmpfr:mpfr-class]{mpfr}
.
Changes in version 0.6-0 (2019-04-24, svn r67)
SIGNIFICANT USER-VISIBLE CHANGES
The exponential rescaling for the asymptotic version of the
I()
function has been changed (for non-real complex arguments) to be compatible to the scaling forBesselI()
.
New Features
deprecate
bI()
to usebesselIs()
instead – enablelog = TRUE
option and test it.new
besselJs()
, i.e., Taylor series forJ_n(x)
; usinglssum()
for alternating exp/log sum, also works with Rmpfr'smpfr()
high precision numbers.use C routine registration, adding safety and a bit of speed.
improved documentation for Bessel functions Ai,Bi, H, I,J,K,Y.
-
besselI.nuAsym()
andbesselK.nuAsym()
now allow maximalk.max = 5
(instead of4
). new
besselKasym()
(9.7.2 of A.&S. p.378).All the TOMS 644 routines get an optional argument
verbose
indicating the verbosity level of output notably from C code. The output itself may change and is not part of the API.
Bug Fixes
fix
BesselI(<cmplx>, nu < 0, expo..=TRUE)
bug thanks to Hiroyuki Kawakatsu.better warning message (r29).
the TOMS 644 routines Bessel[HIYJK] and Airy[AB] now all return
NaN
with a warning instead of stopping with an error in case of low level errorierr == 4
.-
BesselK(0,*)
is zero now, andBesselH(m, z=0,..)
returns Inf/NaN combinations. Both no longer end with an error (fromierr == 1
). -
BesselK(<negative>, 3)
andBesselJ(*)
now also return the correct imaginary part instead of just a numeric value. -
besselIs(z, nu)
now also works forcomplex
z
.
Changes in version 0.5-5 (2013-12-10, svn r17)
Bug Fixes
Adapt to new standard: move vignettes to own ‘vignettes/’ directory.
Changes in version 0.5-4 (2012-03-21, svn r16)
New Features
Improved vignette
Bug Fixes
-
BesselY(0, nu)
should not give an error message fromzbesy()
, but either -Inf (real 0) or something like"Inf + NaN i"
. Cosmetic, mainly for
R CMD check
Changes in version 0.5-3 (2009-12-22 – 2010-11-29, svn r8)
New Features
-
besselI.nuAsym()
andbesselK.nuAsym()
asymptotic versions for largenu
and/orx
ALL PREVIOUS changes (version 0.0-0)
-
See the ‘ChangeLog’ file in the sources.