polpak, a C code which evaluates a variety of mathematical functions, polynomials, and sequences, including Bell, Benford, Bernoulli, Bernstein, Cardan, Catalan, Charlier, Chebyshev, Collatz, Delannoy, Euler, Fibonacci, Gegenbauer, Gudermannian, Harmonic, Hermite, Hofstadter, Jacobi, Krawtchouk, Laguerre, Lambert, Legendre, Lerch, Meixner, Mertens, Moebius, Motzkin, Phi, Stirling, Tau, Tribonacci, Zernike.
The computer code and data files described and made available on this web page are distributed under the MIT license.
polpak is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave 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.