scipy.special.ynp_zeros#
- scipy.special.ynp_zeros(n, nt)[source]#
Compute zeros of integer-order Bessel function derivatives Yn’(x).
Compute nt zeros of the functions \(Y_n'(x)\) on the interval \((0, \infty)\). The zeros are returned in ascending order.
- Parameters
- nint
Order of Bessel function
- ntint
Number of zeros to return
- Returns
- ndarray
First nt zeros of the Bessel derivative function.
See also
References
- 1
Zhang, Shanjie and Jin, Jianming. “Computation of Special Functions”, John Wiley and Sons, 1996, chapter 5. https://people.sc.fsu.edu/~jburkardt/f77_src/special_functions/special_functions.html
Examples
>>> import scipy.special as sc
We can check that we are getting approximations of the zeros by evaluating them with
yvp
.>>> n = 2 >>> x = sc.ynp_zeros(n, 3) >>> x array([ 5.00258293, 8.3507247 , 11.57419547]) >>> sc.yvp(n, x) array([ 2.22044605e-16, -3.33066907e-16, 2.94902991e-16])