Skip to main content

bessel_j

Function bessel_j 

Source
pub fn bessel_j(n: i32, x: f64) -> f64
Expand description

Bessel function of the first kind J_n(x).

Computed via the power-series expansion for small x, and a backward recurrence (Miller’s algorithm) for integer order n ≥ 0.

§Arguments

  • n - integer order
  • x - argument (real)

§Returns

Value of J_n(x).