Cylkowski Z.
Algorithm 13 - Approximate function expansion into a Chebyshev series