Jump to content

Clenshaw algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Cffk (talk | contribs) at 17:15, 16 July 2013 (Geodetic applications: Clean up bugs left by previous editor). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In numerical analysis, the Clenshaw algorithm[1] is a recursive method to evaluate a linear combination of Chebyshev polynomials. It is a generalization of Horner's method for evaluating a linear combination of monomials.

It generalizes to more than just Chebyshev polynomials; it applies to any class of functions that can be defined by a three-term recurrence relation.[2]

Clenshaw algorithm

Suppose that is a sequence of functions that satisfy the linear recurrence relation

where the coefficients and are known in advance. Note that in the most common applications, does not depend on , and is a constant that depends on neither nor .

Our goal is to evaluate a weighted sum of these functions

Given the coefficients , compute the values by the "reverse" recurrence formula:

The linear combination of the satisfies:

See Fox and Parker[3] for more information and stability analyses. The Horner scheme is a special case of the Clenshaw algorithm (, , ).

Special case for Chebyshev series

Consider a truncated Chebyshev series

The coefficients in the recursion relation for the Chebyshev polynomials are

Therefore, using the identities

Clenshaw's algorithm reduces to:

Geodetic applications

Clenshaw's algorithm is extensively used in geodetic applications where it is usually referred to as Clenshaw summation.[4] A simple application is summing the trigonometric series to compute the meridian arc. These have the form

The recurrence relation for is

,

making the coefficients in the recursion relation

and the evaluation of the series is given by

Note that the algorithm requires only the evaluation of two trigonometric quantities and .

References

  1. ^ Attention: This template ({{cite doi}}) is deprecated. To cite the publication identified by doi:10.1090/S0025-5718-1955-0071856-0, please use {{cite journal}} (if it was published in a bona fide academic journal, otherwise {{cite report}} with |doi=10.1090/S0025-5718-1955-0071856-0 instead.
  2. ^ Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007), "Section 5.4.2. Clenshaw's Recurrence Formula", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8
  3. ^ L. Fox and I. B. Parker, Chebyshev Polynomials in Numerical Analysis, Oxford University Press (1968).
  4. ^ Tscherning, C. C.; Poder, K. (1982), "Some Geodetic applications of Clenshaw Summation" (PDF), Bolletino di Geodesia e Scienze Affini, 41 (4): 349–375

See also