Bessel Functions: _y0, _y1, _yn
div
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Bessel Functions: _y0, _y1, _yn

Compute the Bessel function.

double _y0( 
   double x 
);
double _y1( 
   double x )
;
double _yn( 
   int n,
   double x 
);

Parameters

x
Floating-point value.
n
Integer order of Bessel function.

Return Value

Each routine returns a Bessel function of x. If x is negative, the routine sets errno to EDOM, prints a _DOMAIN error message to stderr, and returns _HUGE_VAL. You can modify error handling by using _matherr.

Remarks

The _y0, _y1, and _yn routines return Bessel functions of the second kind: orders 0, 1, and n, respectively.

Input SEH Exception Matherr Exception
± QNAN,IND INVALID _DOMAIN
± 0 ZERODIVIDE _SING
|x|<0.0 INVALID _DOMAIN

Requirements

Routine Required header Compatibility
_y0 <math.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_y1 <math.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_yn <math.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

Example

See Bessel Functions for an example.

See Also

Floating-Point Support Routines | Bessel Functions | _matherr | Run-Time Routines and .NET Framework Equivalents

Show:
© 2016 Microsoft