polpak


polpak, a C code which evaluates a variety of mathematical functions.

It includes routines to evaluate the recursively-defined polynomial families of

A variety of other polynomials and functions have been added.

Licensing:

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

Languages:

polpak 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:

BERNSTEIN_POLYNOMIAL, a C code which evaluates the Bernstein polynomials, useful for uniform approximation of functions;

BESSELJ, a C code which evaluates Bessel J functions of noninteger order.

CLAUSEN, a C code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).

CORDIC, a C code which uses the CORDIC method to compute certain elementary functions.

FN, a C code which approximates elementary and special functions using Chebyshev polynomials, by Wayne Fullerton.

LEGENDRE_PRODUCT_POLYNOMIAL, a C code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.

LOBATTO_POLYNOMIAL, a C code which evaluates Lobatto polynomials, similar to Legendre polynomials except that they are zero at both endpoints.

polpak_test

TEST_VALUES, a C code which stores values of many mathematical functions, and can be used for testing.

Reference:

  1. Milton Abramowitz, Irene Stegun,
    Handbook of Mathematical Functions,
    National Bureau of Standards, 1964,
    ISBN: 0-486-61272-4,
    LC: QA47.A34.

Source Code:


Last revised on 25 July 2019.