Function puruspe::cached_besseljy

source ·
pub fn cached_besseljy(
    nu: f64,
    x: f64,
    cache: &mut HashMap<(u64, u64), (f64, f64, f64, f64)>
) -> (f64, f64, f64, f64)
Expand description

Cached Bessel functions for fractional order

§Arguments

  • nu - Order of the Bessel function (nu >= 0)
  • x - Argument of the Bessel function (x > 0)
  • cache - Cache for the Bessel functions (HashMap)

§Returns

  • J_nu(x) - Bessel function of the first kind
  • Y_nu(x) - Bessel function of the second kind
  • J_nu'(x) - Derivative of the Bessel function of the first kind
  • Y_nu'(x) - Derivative of the Bessel function of the second kind