This function evaluates the reciprocal gamma function.
GAMR — Function value. (Output)
X — Argument for which the reciprocal gamma function is desired. (Input)
Specific: The specific interface names are S_GAMR, D_GAMR, and C_GAMR
Double: The double precision function name is DGAMR.
Complex: The complex name is CGAMR.
The function GAMR computes 1/ Γ(z). See GAMMA for the definition of Γ(z).
For ℑ(z)≈ 0, z must be larger than xmin so that 1/ Γ(z) does not underflow, and x must be smaller than xmax so that 1/Γ(z) does not overflow. Symmetric overflow and underflow limits xmin and xmax are obtainable from
Note that z must not be too far from the real axis because the result will overflow there.
This function is well behaved near zero and negative integers.
In this example, 1/G(1.85) is computed and printed.
99999 FORMAT (' GAMR(', F6.3, ') = ', F6.3)
In this example, ln G(1.4 + 3i) is computed and printed.
99999 FORMAT (' GAMR(', F6.3, ',', F6.3, ') = (', F7.3, ',', F7.3, ')')
GAMR( 1.400, 3.000) = ( -0.303,-16.367)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |