polpak, a C code which evaluates a variety of mathematical functions.
It includes routines to evaluate the recursively-defined polynomial families of
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
polpak is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version
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.
TEST_VALUES, a C code which stores values of many mathematical functions, and can be used for testing.