`jN`

,`jNf`

,`yN`

,`yNf`

---Bessel functions#include <math.h> double j0(doublex); float j0f(floatx); double j1(doublex); float j1f(floatx); double jn(intn, doublex); float jnf(intn, floatx); double y0(doublex); float y0f(floatx); double y1(doublex); float y1f(floatx); double yn(intn, doublex); float ynf(intn, floatx);

**Description**

The Bessel functions are a family of functions that solve the
differential equation
These functions have many applications in engineering and physics.

`jn`

calculates the Bessel function of the first kind of order
`n`. `j0`

and `j1`

are special cases for order 0 and order
1 respectively.

Similarly, `yn`

calculates the Bessel function of the second kind of
order `n`, and `y0`

and `y1`

are special cases for order 0 and
1.

`jnf`

, `j0f`

, `j1f`

, `ynf`

, `y0f`

, and `y1f`

perform the
same calculations, but on `float`

rather than `double`

values.

**Returns**

The value of each Bessel function at `x` is returned.

**Portability**

None of the Bessel functions are in ANSI C.

Go to the first, previous, next, last section, table of contents.