Learn R Programming

boostmath (version 1.0.0)

airy_functions: Airy Functions

Description

Functions to compute the Airy functions Ai and Bi, their derivatives, and their zeros.

Usage

airy_ai(x)

airy_bi(x)

airy_ai_prime(x)

airy_bi_prime(x)

airy_ai_zero(m = NULL, start_index = NULL, number_of_zeros = NULL)

airy_bi_zero(m = NULL, start_index = NULL, number_of_zeros = NULL)

Value

Single numeric value for the Airy functions and their derivatives, or a vector of length number_of_zeros for the multiple zero functions.

Arguments

x

Input numeric value

m

The index of the zero to find (1-based).

start_index

The starting index for the zeros (1-based).

number_of_zeros

The number of zeros to find.

See Also

Boost Documentation for more details on the mathematical background.

Examples

Run this code
airy_ai(2)
airy_bi(2)
airy_ai_prime(2)
airy_bi_prime(2)
airy_ai_zero(1)
airy_bi_zero(1)
airy_ai_zero(start_index = 1, number_of_zeros = 5)
airy_bi_zero(start_index = 1, number_of_zeros = 5)

Run the code above in your browser using DataLab