next up previous index
Next: C330 Legendre and Up: CERNLIB Previous: C327 Modified Bessel

C328 Whittaker Function M of Complex Argument and Complex Indices

Routine ID: C328
Author(s): K.S. KölbigLibrary: MATHLIB
Submitter: Submitted: 15.01.1988
Language: FortranRevised: 15.03.1993

Function subprograms CWHITM and WWHITM compute the Whittacker function

Mκ,μ(z) = e-{12}zz{12}+μM({12}+μ-κ,1+2μ,z)

for complex arguments z and complex indices κ,μ , where M(a,b,z) is Kummer's function (See Ref. 1). The z-plane is cut along the negative real axis.

The double-precision version WWHITM is available only on computers which support a COMPLEX*16 Fortran data type.

Structure:

FUNCTION subprograms
User Entry Names: CWHITM, WWHITM
Files Referenced: Unit 6
External References: CLGAMA, WLGAMA (C306), CCLBES, WCLBES (C309), MTLMTR (N002), ABEND (Z035)

Usage:

In any arithmetic expression, CWHITM(Z,KA,MU) or WWHITM(Z,KA,MU) has the value MKA,MU(Z),

where KA= κ and MU= μ . CWHITM is of type COMPLEX, WWHITM is of type COMPLEX*16, and Z, KA and MU have the same type as the function name.

Method:

For μ-κ+{12} or μ+κ+{12} equal to a negative integer, Mκ,μ(z) reduces to a polynomial in z. For other values, a regular Coulomb wave function F0(ν,ρ)

is computed by using subprogram CCLBES (C309) in conjunction with functional relations.

Restrictions:

μ≠-{12},-{32},... ; Re z ≥0 if Im z=0.

Accuracy:

CWHITM (except on CDC and Cray computers) has full single-precision accuracy. For most values of the arguments, WWHITM (and CWHITM on CDC and Cray computers) has an accuracy of approximately two to three decimal digits less than the machine precision.

Error handling:

Error C328.1: Z=X+iY with X<0 and Y=0 .
Error C328.2: 2*MU=-n, (n=1,2,...) .
In both cases, the function value is set equal to zero, and a message is written on Unit 6, unless subroutine MTLSET (N002) has been called. An error message is also written on Unit 6 if the internal call to CCLBES or WCLBES returns JFAIL≠0

(see Short write-up for CCLBES (C309)).

References:

  1. M. Abramowitz and I.A. Stegun (Eds.), Handbook of Mathematical Functions, Chapter 13, Confluent Hypergeometric Functions, 9th printing with corrections, (Dover, New York 1972).
  2. L.J. Slater, Confluent hypergeometric functions, (University Press, Cambridge 1960)

C330



next up previous index
Next: C330 Legendre and Up: CERNLIB Previous: C327 Modified Bessel


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