test_values


test_values, a Python code which returns a few selected values of various 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.

Licensing:

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

Languages:

test_values is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

fn, a Python code which approximates elementary and special functions using Chebyshev polynomials; functions include Airy, Bessel I, Bessel J, Bessel K, Bessel Y, beta, confluent hypergeometric, cosine integral, Dawson's integral, digamma (psi), error, exponential integral, gamma, hyperbolic cosine integral, hyperbolic sine integral, incomplete gamma, log gamma, logarithmic integral, Pochhammer, psi, sine integral, Spence; by Wayne Fullerton.

Source Code:


Last revised on 04 January 2019.