Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 15.05.1987 |
Language: Fortran | Revised: 01.12.1994 |
Function subprograms RFERDR and DFERDR calculate the Fermi-Dirac function
for real argument x, and k=-1,1,3.
On CDC and Cray computers, the double-precision version DFERDR is not available.
Structure:
FUNCTION subprograms
User Entry Names: RFERDR, DFERDR
Obsolete User Entry Names: FERDR RFERDR
External References: MTLMTR, ABEND
Usage:
In any arithmetic expression,
RFERDR(X,K) or DFERDR(X,K) has the value
,
Method:
Rational approximation.
Accuracy:
RFERDR (except on CDC and Cray computers)
has full single-precision accuracy.
For most values of the argument X, DFERDR
(and RFERDR on CDC and Cray computers) has, for ,
an accuracy of 7-10 digits and for
, an accuracy of
10 to 14 digits.
Error handling:
Error C323.1:
The function value is set equal to zero, and a message is written on
Unit 6, unless subroutine MTLSET (N002) has been called.
References: