scipy.special.ai_zeros#

scipy.special.ai_zeros(nt)[source]#

Compute nt zeros and values of the Airy function Ai and its derivative.

Computes the first nt zeros, a, of the Airy function Ai(x); first nt zeros, ap, of the derivative of the Airy function Ai’(x); the corresponding values Ai(a’); and the corresponding values Ai’(a).

Parameters:
ntint

Number of zeros to compute

Returns:
andarray

First nt zeros of Ai(x)

apndarray

First nt zeros of Ai’(x)

aindarray

Values of Ai(x) evaluated at first nt zeros of Ai’(x)

aipndarray

Values of Ai’(x) evaluated at first nt zeros of Ai(x)

References

[1]

Zhang, Shanjie and Jin, Jianming. “Computation of Special Functions”, John Wiley and Sons, 1996. https://people.sc.fsu.edu/~jburkardt/f77_src/special_functions/special_functions.html

Examples

>>> from scipy import special
>>> a, ap, ai, aip = special.ai_zeros(3)
>>> a
array([-2.33810741, -4.08794944, -5.52055983])
>>> ap
array([-1.01879297, -3.24819758, -4.82009921])
>>> ai
array([ 0.53565666, -0.41901548,  0.38040647])
>>> aip
array([ 0.70121082, -0.80311137,  0.86520403])