Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>bessel() return result of a bessel function of x</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 bessel()                Return Result of a Bessel Function of x

 #include <math.h>

 double j0(x);
 double x;                            Floating-point value

 long double _j0l(x);
 long double x;                       Long Double Floating-point value

 double j1(x);
 double x;                            Floating-point value

 long double _j1l(x);
 long double x;                       Long Double Floating-point value

 double jn(n,x);
 int n;                               Integer order
 double x;                            Floating-point value

 long double _jnl(n, x);
 int n;                               Integer order
 long double x;                       Long Double Floating-point value

 double y0(x);
 double x;                            Floating-point value

 long double _y0l(x);
 long double x;                       Long Double Floating-point value

 double y1(x);
 double x;                            Floating-point value

 long double _y1l(x);
 long double x;                       Long Double Floating-point value

 double yn(n,x);
 int n;                               Integer order
 double x;                            Floating-point value

 long double _ynl(n, x);
 int n;                               Integer order
 long double x;                       Long Double Floating-point value


    The "bessel routine" comprises the functions j0(), _j01(), j1(),
    _j1l(), jn(), _jnl(), y0(), y0l(), y1(), y1l(), yn(), and ynl().  The
    j0(), _j01(), j1(), _j1l(), jn(), and jnl() routines return Bessel
    functions of the first kind -- orders 0, 1, and n, respectively.

    The y0(), y0l(), y1(), y1l(), yn(), and ynl() routines return Bessel
    functions of the second kind -- orders 0, 1, and n respectively.

    Returns:    The result of a Bessel function of 'x'.  For y0(),
                y0l(), y1(), y1l(), yn(), and ynl(), if 'x' is negative,
                'errno' is set to EDOM, a DOMAIN error message is printed to
                'stderr', and the value of negative HUGE_VAL is returned.

      Notes:    'x' must be positive.

                Error handling can be modified with the matherr()
                routine.

 Portability:   Not supported by ANSI standard.

   -------------------------------- Example ---------------------------------

    The following statements return the Bessel function of 'x'.

           #include <math.h>
           #include <stdio.h>

           main()
           {
               double x, y, z;

               x = 2;
               y = j0(x);
               z = yn(3,x);
               printf("y = %f and z = %f", y, z);
           }



See Also: matherr()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson