Section: Linux Programmer's Manual (3) Updated: 2010-09-20 Local index
j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl -
Bessel functions of the first kind
double j0(double x);
double j1(double x);
double jn(int n, double x);
float j0f(float x);
float j1f(float x);
float jnf(int n, float x);
long double j0l(long double x);
long double j1l(long double x);
long double jnl(int n, long double x);
Link with -lm.
Feature Test Macro Requirements for glibc (see
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE >= 600 ||
functions return Bessel functions of x
of the first kind of orders 0 and 1, respectively.
returns the Bessel function of x of the first kind of order n.
etc. functions are versions that take and return
On success, these functions return the appropriate
Bessel value of the first kind for
is a NaN, a NaN is returned.
is too large in magnitude,
or the result underflows,
a range error occurs,
and the return value is 0.
for information on how to determine whether an error has occurred
when calling these functions.
The following errors can occur:
- Range error: result underflow, or x is too large in magnitude
is set to
These functions do not raise exceptions for
The functions returning
conform to SVr4, 4.3BSD,
The others are nonstandard functions that also exist on the BSDs.
There are errors of up to 2e-16 in the values returned by
for values of x between -8 and 8.
This page is part of release 3.27 of the Linux
A description of the project,
and information about reporting bugs,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:48:44 GMT, April 16, 2011