Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yn(3M) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

j0(3M)

isnan(3M)

values(5)

y0(3M)

NAME

y0(), y1(), yn() − Bessel functions of the second kind

SYNOPSIS

#include <math.h>

double y0(double x);

double y1(double x);

double yn(int n, double x);

DESCRIPTION

y0() and y1() return the 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. The value of x must be positive. 

To use these functions, link in the math library by specifying −lm on the compiler or linker command line. 

RETURN VALUE

If x is negative or zero, y0(), y1(), and yn() return −HUGE_VAL. 

If x is NaN, y0(), y1(), and yn() return NaN. 

If the correct result after rounding would be smaller in magnitude than MINDOUBLE, y0(), y1(), and yn() return zero. 

If the correct result would overflow, y0(), y1(), and yn() return −HUGE_VAL. 

ERRORS

No errors are defined. 

SEE ALSO

j0(3M), isnan(3M), values(5). 

M. Abramowitz and I. Stegun, Handbook of Mathematical Functions (New York: Dover Publications, 1972). 

STANDARDS CONFORMANCE

y0(): SVID3, XPG4.2

y1(): SVID3, XPG4.2

yn(): SVID3, XPG4.2

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026