Compute a Bessel function of the first kind
#include <math.h> double j1( double x ); float j1f( float x );
libbessel
Use the -l bessel option to qcc to link against this library.
Compute the Bessel function of the first kind for x.
The result of the Bessel function of x.
If an error occurs, these functions return 0, but this is also a valid mathematical result. If you want to check for errors, set errno to 0, call the function, and then check errno again. These functions don't change errno if no errors occurred. |
j1() is POSIX 1003.1 XSI; j1f() is Unix
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
errno, j0(), jn(), y0(), y1(), yn()