Skip to main content

builtin_bessel_y

Function builtin_bessel_y 

Source
fn builtin_bessel_y(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Bessel function of the second kind, Y_nu(x).

Computes Y_nu(x) for integer order nu using libm’s yn function. R’s besselY also supports non-integer nu, but this implementation currently handles integer orders only.

@param x numeric vector (must be positive for finite results) @param nu numeric scalar (order, rounded to nearest integer) @return numeric vector of Bessel Y values