[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    bessel(3M) manual page Table of Contents

Name

bessel, j0, j1, jn, y0, y1, yn - Bessel functions

Synopsis

cc [ flag ... ] file ... -lm [ library ... ]

#include <math.h>

double j0(double x);

double j1(double x);

double jn(int n, double x);

double y0(double x);

double y1(double x);

double yn(int n, double x);

MT-Level

MT-Safe

Description

These functions calculate Bessel functions of the first and second kinds for real arguments and integer orders.

Return Values

For exceptional cases, matherr(3M) tabulates the values to be returned as dictated by various Standards.

See Also

exp(3M) , matherr(3M)

Diagnostics

In IEEE754 mode (i.e. the -xlibmieee cc compilation option), the functions y0(), y1(), and yn() have logarithmic singularities at the origin, so they treat zero and negative arguments the way log() does, as described in exp(3M) . Such arguments are unexceptional for j0(), j1(), and jn().


Table of Contents