Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exp(3M)

matherr(3M)

bessel(3M)

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(). 

SunOS 5.5/x86  —  Last change: 4 Mar 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026