Skip to content

airy

builtin · libnexusinterp/corefcn/besselj-proprietary.cc

: A = airy (z)
: A = airy (k, z)
: A = airy (k, z, opt)
: [A, ierr] = airy (…)

Airy functions and their derivatives.

k selects the function: 0 for Ai(z) (default), 1 for Ai’(z), 2 for Bi(z) and 3 for Bi’(z). z may be complex. With a true opt the Ai functions are scaled by exp ((2/3) * z^(3/2)) and the Bi functions by exp (-abs (real ((2/3) * z^(3/2)))).

ierr holds the status of each element (see besselj).