bessel_h: The BesselH Function

View source: R/RcppExports.R

bessel_hR Documentation

The BesselH Function

Description

Computes the Hankel function (Bessel function of the third kind) for real or complex inputs.

Usage

bessel_h(m, z, nu, expon_scaled = FALSE, verbose = 0)

Arguments

m

An integer representing the type of Hankel function. It must be either 1 (for the first kind) or 2 (for the second kind).

z

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

nu

A double representing the order of the Hankel function.

expon_scaled

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

verbose

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

Value

A complex vector containing the values of the bessel_h function evaluated at the points in z.

References

\insertRef

Maechler2024RcppBessel
\insertRefAmos1995RcppBessel


RcppBessel documentation built on Sept. 11, 2024, 7:35 p.m.