Export (0) Print
Expand All
div
eof
Expand Minimize

Bessel Functions: _j0, _j1, _jn 

Compute the Bessel function.


double _j0( 
   double x 
);
double _j1( 
   double x 
);
double _jn( 
   int n,
   double x 
);

Parameters

x

Floating-point value.

n

Integer order of Bessel function.

Each of these routines returns a Bessel function of x. You can modify error handling by using _matherr.

The _j0, _j1, and _jn routines return Bessel functions of the first kind: orders 0, 1, and n, respectively.

Input SEH Exception Matherr Exception

± QNAN,IND

INVALID

_DOMAIN

Routine Required header Compatibility

_j0

<math.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

_j1

<math.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

_jn

<math.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For additional compatibility information, see Compatibility in the Introduction.

See Bessel Functions for an example.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Community Additions

ADD
Show:
© 2014 Microsoft