scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
jnp_zeros(n, nt)

Compute :None:None:`nt` zeros of the functions $J_n'(x)$ on the interval $(0, \infty)$ . The zeros are returned in ascending order. Note that this interval excludes the zero at $x = 0$ that exists for $n > 1$ .

Parameters

n : int

Order of Bessel function

nt : int

Number of zeros to return

Returns

ndarray

First :None:None:`nt` zeros of the Bessel function.

Compute zeros of integer-order Bessel function derivatives Jn'.

See Also

jv
jvp

Examples

>>> import scipy.special as sc

We can check that we are getting approximations of the zeros by evaluating them with jvp .

>>> n = 2
... x = sc.jnp_zeros(n, 3)
... x array([3.05423693, 6.70613319, 9.96946782])
>>> sc.jvp(n, x)
array([ 2.77555756e-17,  2.08166817e-16, -3.01841885e-16])

Note that the zero at x = 0 for n > 1 is not included.

>>> sc.jvp(n, 0)
0.0
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.special._basic.jnp_zeros scipy.special._basic.jnyn_zeros scipy.special._basic.jnjnp_zeros

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/special/_basic.py#350
type: <class 'function'>
Commit: