Next: 3.3 Comprehensive Libraries
Up: 3 Packages, Libraries and
Previous: 3.1 Software Packages
Subsections
Under this heading we place software that is in some sense intermediate
between software packages, which embody original research contributions,
and comprehensive libraries (§3.3 below).
The libraries we consider here provide support only for mathematical
functions.
Furthermore, they are largely restricted to codification of existing
algorithms with all their advantages--and limitations.
The purpose of this book with CD-ROM is to provide C or
Fortran 90 source code for most of the functions included in the
NBS Handbook of Mathematical Functions [AS64]. It claims
``most of the functions are computed ...to an accuracy of at least
10 decimal digits.'' The functions are computed for real variables only.
This volume with diskette is keyed to the NBS
Handbook of Mathematical Functions [AS64].
Most chapters of the NBS Handbook have a counterpart here in which
brief introductory material is followed by C code listings.
A complex arithmetic package is included since C supports only real
and integer arithmetic.
The author advocates the use of C because it ``is rapidly becoming
the lingua franca of the computer world'' and ``algorithms
written in C should be very portable''.
He has written two other books on C programming for technical applications.
This book with included diskette provides Fortran 77 code for most
of the functions in the NBS Handbook of Mathematical Functions
[AS64]. For many of the functions, codes are supplied for
complex as well as real arguments. In some cases complex parameters
are supported also.
These volumes
exist to ``provide users with a comprehensive set of mathematical function
routines to assist them in solving their mathematical problems on
IBM PC/XT/AT or compatibles.''
Each consists of a looseleaf manual with diskettes.
The documentation for each function gives usage instructions, input range,
accuracy, definition of the function, algorithm, sample program and
sample results.
The functions are evaluated only for real arguments.
The diskettes contain
a compiled library in microprocessor assembly code for use with
Microsoft compilers and the Fortran or C
source code for use with other compilers.
This volume with separate diskette of C programs
presents a selection of
special functions with real arguments and integer or real parameters.
The programs are designed for double precision, and tables of test
results included for every function typically show absolute or
relative errors (whichever is appropriate) of the order of .
Where polynomial or rational approximations are used, the expansion
coefficients were generated in multiple precision using C programs
that are given in the book. The programs have been collected under
the heading ``cephes'' and are downloadable free-of-charge from
Netlib; see http://gams.nist.gov/serve.cgi/Package/CEPHES/.
Next: 3.3 Comprehensive Libraries
Up: 3 Packages, Libraries and
Previous: 3.1 Software Packages
Thursday, Jan 11, 2001