Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

bessel(3m)

NAME

j0, j1, jn, y0, y1, yn − bessel functions

SYNTAX

#include <math.h>

double j0(x)
double x;

double j1(x)
double x;

double jn(n, x)
double x;

double y0(x)
double x;

double y1(x)
double x;

double yn(n, x)
double x;

DESCRIPTION

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

RETURN VALUE

Negative arguments cause y0, y1, and yn to return a huge negative value and set errno to EDOM. 

ENVIRONMENT

When your program is compiled using the System V environment, nonpositive arguments cause y0, y1 and yn to return the value HUGE and to set errno to EDOM.  In addition, a message indicating DOMAIN error is printed on the standard error output. 

Arguments too large in magnitude cause j0, j1, y0, and y1 to return zero and to set errno to ERANGE.  In addition, a message indicating TLOSS error is printed on the standard error output. 

These error-handling procedures may be changed with the function matherr(.).

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