Compute Airy functions of the first and second kind, and their derivatives.
K Function Scale factor (if 'opt' is supplied) --- -------- --------------------------------------- 0 Ai (Z) exp ((2/3) * Z * sqrt (Z)) 1 dAi(Z)/dZ exp ((2/3) * Z * sqrt (Z)) 2 Bi (Z) exp (-abs (real ((2/3) * Z *sqrt (Z)))) 3 dBi(Z)/dZ exp (-abs (real ((2/3) * Z *sqrt (Z))))The function call
airy (z)is equivalent toairy (0,z).The result is the same size as z.
If requested, ierr contains the following status information and is the same size as the result.
- Normal return.
- Input error, return
NaN.- Overflow, return
Inf.- Loss of significance by argument reduction results in less than half of machine accuracy.
- Complete loss of significance by argument reduction, return
NaN.- Error—no computation, algorithm termination condition not met, return
NaN.