|
|
HP-UX Reference > Yy0(3M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEy0(), y0f(), y0l(), y0w(), y0q(), y1(), y1f(), y1l(), y1w(), y1q(), yn(), ynf(), ynl(), ynw(), ynq() — Bessel functions of the second kind SYNOPSIS#include <math.h> double y0(double x); double y1(double x); double yn(int n, double x); HP Integrity Server Onlyfloat y0f(float x); float y1f(float x); float ynf(int n, float x); long double y0l(long double x); long double y1l(long double x); long double ynl(int n, long double x); extended y0w(extended x); extended y1w(extended x); extended ynw(int n, extended x); quad y0q(quad x); quad y1q(quad x); quad ynq(int n, quad x); DESCRIPTIONy0() and y1() return Bessel functions of x of the second kind of orders 0 and 1 respectively. yn() returns the Bessel function of x of the second kind of order n. y0f(), y1f(), and ynf() are float versions of y0(), y1(), snd yn(); each takes a float argument x and returns a float result. y0l(), y1l(), and ynl() are long double versions of y0(), y1(), and yn(); each takes a long double arguement x and returns a long double result. y0w(), y1w(), and ynw() are extended version of y0(), y1(), and yn(); each takes an extended argument x and resturns an extended result. y0q(), y1q(), and ynq() are quad version of y0(), y1(), and yn(); each takes a quad argument x and returns a quad result. USAGETo use these functions, compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. Make sure your program includes <math.h>. Link in the math library by specifying -lm on the compiler or linker command line. To use (for Integrity servers) y0w(), y1w(), ynw(), y0q(), y1q(), or ynq(), compile also with the -fpwidetypes option. RETURN VALUEIf x is negative or zero, y0(), y1(), and yn() return -HUGE_VAL (equal to -INFINITY). If x is NaN, y0(), y1(), and yn() return NaN. If the correct result would overflow, y0(), y1(), and yn() return -HUGE_VAL. |
|