TEST_VALUES , a FORTRAN90 code which stores a few selected values of various mathematical functions.
The intent of TEST_VALUES is to provide a means of making very simple tests for correctness of software designed to compute a variety of functions. The testing can be done automatically. The data provided is generally skimpy, and might not test the algorithm over a suitably wide range. It does, however, provide a small amount of reassurance that a given computation is (or is not) computing the appropriate quantity, and doing so reasonably accurately.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
TEST_VALUES is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
CORDIC, a FORTRAN90 code which use the CORDIC method to compute certain elementary functions.
FN, a FORTRAN90 code which evaluates elementary and special functions, by Wayne Fullerton.
LOBATTO_POLYNOMIAL, a FORTRAN90 code which evaluates Lobatto polynomials, similar to Legendre polynomials except that they are zero at both endpoints.
POLPAK, a FORTRAN90 code which computes various mathematical functions; test values for many of these functions are available in TEST_VALUES.
PROB, a FORTRAN90 code which computes various statistical functions; test values for many of these functions are available in TEST_VALUES.
SPECFUN, a FORTRAN90 code which computes various special functions, particularly Bessel functions.
SPECIAL_FUNCTIONS, a FORTRAN90 code which computes special functions, by Shanjie Zhang, Jianming Jin;
STEAM, a FORTRAN90 code which computes various functions related to the physical properties of water; test values for many of these functions are available in TEST_VALUES.