Learn R Programming

RcppBessel (version 1.0.0)

airy_a: The AiryA Function

Description

Computes the Airy function Ai for real or complex inputs.

Usage

airy_a(z, deriv = 0, expon_scaled = FALSE, verbose = 0)

Value

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

Arguments

z

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

deriv

An integer indicating whether to compute the function (0 for the function itself) or its first derivative (1 for the first derivative). Defaults to 0.

expon_scaled

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

verbose

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

References

Maechler2024RcppBessel
Amos1995RcppBessel