bessel_y {RcppBessel}R Documentation

The BesselY Function

Description

Computes the Bessel function of the second kind (Neumann function) for real or complex inputs.

Usage

bessel_y(z, nu, expon_scaled = FALSE, verbose = 0)

Arguments

z

A numeric or complex vector representing the input values at which to evaluate the Bessel function.

nu

A double representing the order of the Bessel function.

expon_scaled

A logical value indicating whether to use the exponentially scaled form of the Bessel function. Defaults to FALSE.

verbose

An integer specifying the verbosity level for error messages. Defaults to 0.

Value

A numeric or complex vector (depending on the input) containing the values of the bessel_y function evaluated at the points in z.

References

Maechler M (2024). Bessel: Computations and Approximations for Bessel Functions. R package version 0.6-1, https://CRAN.R-project.org/package=Bessel.
Amos DE (1995). “A remark on Algorithm 644: "A portable package for Bessel functions of a complex argument and nonnegative order".” ACM Transactions on Mathematical Software (TOMS), 21(4), 388–393.


[Package RcppBessel version 1.0.0 Index]