naginterfaces.library.specfun.airy_bi_complex¶
- naginterfaces.library.specfun.airy_bi_complex(deriv, z, scal)[source]¶
airy_bi_complex
returns the value of the Airy function or its derivative for complex , with an option for exponential scaling.For full information please refer to the NAG Library document for s17dh
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/s/s17dhf.html
- Parameters
- derivstr, length 1
Specifies whether the function or its derivative is required.
is returned.
is returned.
- zcomplex
The argument of the function.
- scalstr, length 1
The scaling option.
The result is returned unscaled.
The result is returned scaled by the factor .
- Returns
- bicomplex
The required function or derivative value.
- Raises
- NagValueError
- (errno )
On entry, has an illegal value: .
- (errno )
On entry, has an illegal value: .
- (errno )
No computation because is too large when .
- (errno )
No computation because .
- (errno )
No computation – algorithm termination condition not met.
- Warns
- NagAlgorithmicWarning
- (errno )
Results lack precision because .
- Notes
airy_bi_complex
returns a value for the Airy function or its derivative , where is complex, . Optionally, the value is scaled by the factor .The function is derived from the function CBIRY in Amos (1986). It is based on the relations , and , where is the modified Bessel function and .
For very large , argument reduction will cause total loss of accuracy, and so no computation is performed. For slightly smaller , the computation is performed but results are accurate to less than half of machine precision. If is too large, and the unscaled function is required, there is a risk of overflow and so no computation is performed. In all the above cases, a warning is given by the function.
- References
NIST Digital Library of Mathematical Functions
Amos, D E, 1986, Algorithm 644: A portable package for Bessel functions of a complex argument and non-negative order, ACM Trans. Math. Software (12), 265–273