yn

Computes Bessel function of x of the second kind of order n.

Library:LibC
Classification:POSIX
Service:Math

Syntax

  #include <math.h>
  
  double yn (
     int      n,
     double   x);
  

Parameters

n

Specifies the order of the Bessel function.

x

Specifies the number whose Bessel function is to be derived.

Return Values

If successful, returns the result of the desired Bessel function of the argument x.

If x is negative, sets errno to EDOM, prints a DOMAIN error message to stderr, and returns HUGE_VAL.

See Also