Condividi tramite


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.

Return Value

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

Remarks

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

Requirements

Routine

Required header

_j0

<math.h>

_j1

<math.h>

_jn

<math.h>

For additional compatibility information, see Compatibility in the Introduction.

Example

See Bessel Functions for an example.

.NET Framework Equivalent

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

See Also

Concepts

Floating-Point Support

Bessel Functions

_matherr