Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bessel(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

matherr

bessel: j0, j1, jn, y0, y1, yn

Purpose

     Computes Bessel functions.

Library

     Math Library (libm.a)

Syntax

     #include <math.h>

     double j0 (x)                             double y0 (x)
     double x;                                 double x;

     double j1 (x)                             double y1 (x)
     double x;                                 double x;

     double jn (n, x)                          double yn (n, x)
     int n;                                    int n; double x;
     double x;
     Description

     The j0 and j1 subroutines return Bessel functions of x of
     the  first kind,  of orders  0 and  1, respectively.   jn
     returns the  Bessel function  of x of  the first  kind of
     order n.

     The y0 and y1 subroutines  return the Bessel functions of
     x of  the second kind,  of orders 0 and  1, respectively.
     yn returns the Bessel function of x of the second kind of
     order n.  The value of x must be positive.

     Non-positive parameters  cause y0,  y1, and yn  to return
     the value  HUGE, to  set errno  to EDOM,  and to  write a
     message to the standard  error output indicating a DOMAIN
     error.

     Parameters that are too large  in magnitude cause j0, j1,
     y0, and y1  to return as much of the  result as possible,
     to set  errno to ERANGE,  and to  write a message  to the
     standard error output indicating a PLOSS error.

     You can  change these error-handling procedures  with the
     matherr subroutine.

     Related Information

     In this book:  "matherr."

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