Module ERF in SPECFUN
Evaluates erf(x), erfc(x), and exp(x*x)*erfc(x) for a real argument x. Uses
rational functions that theoretically approximate erf(x) and erfc(x) to at
least 18 significant decimal digits.
Classes : C8a . Error functions, their inverses, integrals, including the
normal distribution function
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 = ERF(X); S = ERFC(X); S = ERFCX(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 erf from specfun" | mail netlib@ornl.gov
Fullsource : echo "send erf from specfun" | mail netlib@ornl.gov
Test : echo "send erftst 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 Aug 29, 2008 at 18:32:27 UTC