test_values


test_values , a FORTRAN90 code which stores a few selected values of various mathematical functions.

The intent of the code 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 described and 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 Programs:

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.

test_values_test

Reference:

  1. Milton Abramowitz, Irene Stegun,
    Handbook of Mathematical Functions,
    National Bureau of Standards, 1964,
    ISBN: 0-486-61272-4,
    LC: QA47.A34.
  2. Lester Haar, John Gallagher, George Kell,
    NBS/NRC Steam Tables:
    Thermodynamic and Transport Properties and Computer Programs for Vapor and Liquid States of Water in SI Units,
    Hemisphere Publishing Corporation, Washington, 1984,
    ISBN: 0-89116-353-0,
    LC: TJ270.H3.
  3. Allan McLeod,
    Algorithm 757: MISCFUN: A software package to compute uncommon special functions,
    ACM Transactions on Mathematical Software,
    Volume 22, Number 3, September 1996, pages 288-301.
  4. Edward Reingold, Nachum Dershowitz,
    Calendrical Calculations: The Millennium Edition,
    Cambridge University Press, 2001,
    ISBN: 0-521-77752-6,
    LC: CE12.R45.
  5. Stephen Wolfram,
    The Mathematica Book,
    Fourth Edition,
    Cambridge University Press, 1999,
    ISBN: 0-521-64314-7,
    LC: QA76.95.W65.
  6. Shanjie Zhang, Jianming Jin,
    Computation of Special Functions,
    Wiley, 1996,
    ISBN: 0-471-11963-6,
    LC: QA351.C45.
  7. Daniel Zwillinger, editor,
    CRC Standard Mathematical Tables and Formulae,
    30th Edition,
    CRC Press, 1996,
    ISBN: 0-8493-2479-3,
    LC: QA47.M315.
  8. Daniel Zwillinger, Steven Kokoska,
    Standard Probability and Statistical Tables,
    CRC Press, 2000,
    ISBN: 1-58488-059-7,
    LC: QA273.3.Z95.

Source Code:


Last revised on 11 September 2020.