bessel_y

Function bessel_y 

Source
pub fn bessel_y(n: i32, x: &Expression) -> Expression
Expand description

Bessel function of the second kind Y_n(x)

Y_n has logarithmic singularity at x = 0.

§Mathematical Properties

  • Y_n(0) = -∞, Y_{-n}(x) = (-1)^n Y_n(x)
  • Recurrence: Y_{n+1}(x) = (2n/x)Y_n(x) - Y_{n-1}(x)

§Examples

use mathhook_core::functions::special::bessel_y;
use mathhook_core::{Expression, Number};

let y0 = bessel_y(0, &Expression::Number(Number::Float(1.0)));