Skip to main content

bessel_j_jprime_zeros

Function bessel_j_jprime_zeros 

Source
pub fn bessel_j_jprime_zeros<const N: usize>() -> ([f64; N], [u32; N], [u32; N], [bool; N])
Expand description

Compute the first $N$ zeros of all $J_n(x)$ and $J_n'(x)$ with integer $n \ge 0$, in ascending order

Corresponds to scipy.special.jnjnp_zeros.

§Returns

  • The zeros $x_l$, starting with $x_1 = 0$ (of $J_0'(x)$)
  • The orders $n_l$
  • The serial numbers $m_l$ of the zeros $x_l$ of $J_{n_l}(x)$ or $J_{n_l}'(x)$ (from 0 for $J_0'(x)$, so that $x_1 = 0$ has $m_1 = 0$, and from 1 otherwise)
  • Whether $x_l$ is a zero of $J_{n_l}'(x)$ (true) or of $J_{n_l}(x)$ (false)

§Panics

  • if N is greater than 1200

§See also

  • bessel_zeros: zeros of $J_v(x)$, $J_v'(x)$, $Y_v(x)$, and $Y_v'(x)$ for a given $v$
  • bessel_j: Bessel function $J_v(z)$