Module GAMMA in SPECFUN
Calculates the GAMMA function for a real argument X. Uses rational functions that
approximate the GAMMA function to at least 20 significant decimal digits.
Classes : C7a . Gamma, log gamma, reciprocal gamma functions
Type : Fortran subroutine in SPECFUN package.
Access : Public domain. Portable.
Precision: Single or double.
Note : Both single and double precision versions can be extracted from the
supplied source with simple editing changes.
Usage : S = GAMMA(X)
Details : Fullsource Source Test
Sites : (1) NETLIB
NETLIB: Public access repository, The University of Tennessee at
Knoxville and Bell Laboratories
Precision: Single or double.
Note : Both single and double precision versions can be extracted from the
supplied source with simple editing changes.
You may access components from NETLIB outside GAMS as follows.
Source : echo "send only gamma from specfun" | mail netlib@ornl.gov
Fullsource : echo "send gamma from specfun" | mail netlib@ornl.gov
Test : echo "send gamtst from specfun" | mail netlib@ornl.gov
GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology
This page was generated on Fri Jan 09, 2009 at 12:48:39 UTC