toms446, a C code which implements ACM TOMS algorithm 446, for the manipulation of Chebyshev series.
The text of many ACM TOMS algorithms is available online through ACM: https://calgo.acm.org/ or NETLIB: https://www.netlib.org/toms/index.html.
The computer code and data files described and made available on this web page are distributed under the MIT license
toms446 is available in a C++ version and a C++ version and a FORTRAN90 version and a MATLAB version.
bernstein_polynomial, a C code which evaluates the Bernstein polynomials, useful for uniform approximation of functions;
CHEBYSHEV, a C code which computes the Chebyshev interpolant/approximant to a given function over an interval.
CHEBYSHEV_SERIES, a C code which can evaluate a Chebyshev series approximating a function f(x), while efficiently computing one, two or three derivatives of the series, which approximate f'(x), f''(x), and f'''(x), by Manfred Zimmer.
DIVDIF, a C code which computes interpolants by divided differences.
hermite_interpolant, a C code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
SPLINE, a C code which can construct and evaluate spline interpolants and approximants.
TEST_APPROX, a C code which defines test functions for approximation and interpolation.