This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / special / _basic / ai_zeros

function

scipy.special._basic:ai_zeros

source: build-install/usr/lib/python3.14/site-packages/scipy/special/_basic.py:2299

Signature

def ai_zeros(nt)

Summary

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

Extended Summary

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

nt : int

Number of zeros to compute

Returns

a : ndarray

First nt zeros of Ai(x)

ap : ndarray

First nt zeros of Ai'(x)

ai : ndarray

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

aip : ndarray

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

Examples

from scipy import special
a, ap, ai, aip = special.ai_zeros(3)
✓
a
ap
ai
aip
✗
array([ 0.701, -0.803,  0.865])

Aliases

  • scipy.special.ai_zeros