next up previous index
Next: C343 Bessel Functions Up: CERNLIB Previous: C341 Modified Bessel

C342 Struve Functions of Orders Zero and One

Routine ID: C342
Author(s): K.S. KölbigLibrary: MATHLIB
Submitter: Submitted: 15.11.1971
Language: FortranRevised: 01.12.1994

Function subprograms RSTRH0, RSTRH1 and DSTRH0, DSTRH1 calculate the Struve functions

Hn(x) = ({12}x)n+1k=0&inf;{(-1)k({12}x)2kΓ(k+{32})Γ(k+n+{32})}

for real arguments x and n=0,1.

On CDC and Cray computers, the double-precision versions DSTRH0, DSTRH1 are not available.

Structure:

FUNCTION subprograms
User Entry Names: RSTRH0, RSTRH1, DSTRH0, DSTRH1
Obsolete User Entry Names: STRH0 RSTRH0, STRH1 RSTRH1
External References: BESJO, DBESJ0, BESY0, DBESY0 (C312)

Usage:

In any arithmetic expression, RSTRH0(X) or DSTRH0(X) has the value H0(X) ,
RSTRH1(X) or DSTRH1(X) has the value H1(X) ,

where RSTRH0, RSTRH1 are of type REAL, DSTRH0, DSTRH1 are of type DOUBLE PRECISION, and X has the same type as the function name.

Method:

Approximation by truncated Chebyshev series.

Accuracy:

RSTRH0 and RSTRH1 (except on CDC and Cray computers) have full single-precision accuracy. For most values of the argument X, DSTRH0, DSTRH1 (and RSTRH0, RSTRH1 on CDC and Cray computers) have an accuracy of approximately one significant digit less than the machine precision.

References:

  1. Y.L. Luke, The special functions and their approximations, v.II (Academic Press, New York 1969) 370--371.

C343


Janne Saarela
Mon Apr 3 15:06:23 METDST 1995