Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

jn(3M)

Name

j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl - Bessel functions of the first kind

Synopsis

c99 [ flag... ] file... –lm [ library... ]
#include <math.h>

double j0(double x);
float j0f(float x);
long double j0l(long double x);
double j1(double x);
float j1f(float x);
long double j1l(long double x);
double jn(int n, double x);
float jnf(int n, float x);
long double jnl(int n, long double x);

Description

These functions compute Bessel functions of x of the first kind of orders 0, 1 and n respectively.

Return Values

Upon successful completion, these functions return the relevant Bessel value of x of the first kind.

If x is NaN, a NaN is returned.

Errors

No errors are defined.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Availability
system/library/math
MT-Level
MT-Safe
Standard
See below.

For j0(), j1(), and jn(), see standards(7).

See Also

math.h(3HEAD), isnan(3M), y0(3M), attributes(7), standards(7)