IMSL_AIRY_BI

Syntax | Return Value | Arguments | Keywords | Discussion | Example | Version History

The IMSL_AIRY_BI function evaluates the Airy function of the second kind.

Note
This routine requires an IDL Advanced Math and Stats license. For more information, contact your ITT Visual Information Solutions sales or technical support representative.

Syntax

Result = IMSL_AIRY_BI(x [, DERIVATIVE=value] [, /DOUBLE])

Return Value

The value of the Airy function evaluated at x, Bi(x).

Arguments

x

Argument for which the function value is desired.

Keywords

DERIVATIVE

If present and nonzero, then the derivative of the Airy function of the second kind is computed.

DOUBLE

If present and nonzero, double precision is used.

Discussion

The airy function Bi(x) is defined to be:

IMSL_AIRY_BI-41.jpg

It can also be expressed in terms of modified Bessel functions of the first kind, Iv(x), and Bessel functions of the first kind Jv(x) (see IMSL_BESSI, and IMSL_BESSJ):

IMSL_AIRY_BI-42.jpg

and:

IMSL_AIRY_BI-43.jpg

Here ε is the machine precision. If x < -1.31ε–2/3, then the answer will have no precision. If x < -1.31ε–1/3, the answer will be less accurate than half precision. In addition, x should not be so large that exp[(2/3)x3/2] overflows.

If the keyword DERIVATIVE is set, the airy function Bi(x) is defined to be the derivative of the Airy function of the second kind, Bi(x) (see IMSL_AIRY_BI). If x < -1.31ε–2/3, then the answer will have no precision. If x < -1.31ε–1/3, the answer will be less accurate than half precision. Here ε is the machine precision. In addition, x should not be so large that exp[(2/3)x3/2] overflows.

Example

In this example, Bi(-4.9) and Bi(-4.9) are evaluated.

PRINT, IMSL_AIRY_BI(-4.9) 
    -0.0577468 
PRINT, IMSL_AIRY_BI(-4.9, /Derivative) 
     0.827219 

Version History

6.4

Introduced