Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

BESJ0, BESJ1, BESJN, BESY0, BESY1, BESYN

Portability Functions: Compute the single-precision values of Bessel functions of the first and second kinds.

Module

USE IFPORT

result = BESJ0 (value)

result = BESJ1 (value)

result = BESJN (n, value)

result = BESY0 (posvalue)

result = BESY1 (posvalue)

result = BESYN (n, value)

value

(Input) REAL(4). Independent variable for a Bessel function.

n

(Input) INTEGER(4). Specifies the order of the selected Bessel function computation.

posvalue

(Input) REAL(4). Independent variable for a Bessel function. Must be greater than or equal to zero.

Results

BESJ0, BESJ1, and BESJN return Bessel functions of the first kind, orders 0, 1, and n, respectively, with the independent variable posvalue.

BESY0, BESY1, and BESYN return Bessel functions of the second kind, orders 0, 1, and n, respectively, with the independent variable posvalue.

Negative arguments cause BESY0, BESY1, and BESYN to return QNAN.

Bessel functions are explained more fully in most mathematics reference books, such as the Handbook of Mathematical Functions (Abramowitz and Stegun. Washington: U.S. Government Printing Office, 1964). These functions are commonly used in the mathematics of electromagnetic wave theory.

See the descriptions of the BESSEL_* functions, if you need to use quad-precision (REAL(16)).