Talk:Clenshaw algorithm

Latest comment: 11 years ago by Arghman in topic Like Microsoft User Support

[Untitled] edit

What about Chebyshev polynomials of the second kind? Can they be evaluated quickly?

Yes, they can be evaluated quickly, just replace   with   in the expression for  . As a matter of fact, the Clenshaw algorithm is a general method for evaluation of a linear combination of functions that can be expressed using a recurrence formula. If you like, I will describe the general algorithm including the references to relevant literature. --Zdeněk Wagner (talk) 10:27, 23 November 2007 (UTC)Reply

That would be nice —Preceding unsigned comment added by 76.165.224.41 (talk) 23:17, 24 April 2008 (UTC)Reply


I can't follow this page - is a paragraph or equation missing? What do the   actually relate to?

The last equation (   ) can't be right

I would like to know:

Given polynomial, with coefficients  :

 

how do we find the coefficients   for the sum of Chebyshev polynomials

 

- is that what it was meant to do?

If I find out I will come back and offer a fix --Robertpaynter (talk) 17:34, 28 October 2008 (UTC)Reply

It is quite easy. Look at the definition of Chebyshev polynomials.   is thus a polynomial of  -th order. If you combine the above written equation, you get the set of   linear equation for   unknown coefficients  . In practice you never obtain Chebyshev expansion that way. There are several kinds of polynomials that can be defined by recurrence relations. When determining polynomial series of such polynomials, you often take advantage of their orthogonality or you obtain them as a solution of a differential equation of some kind etc. Now you need to evaluate the function value of such an expansion for some  . The direct use of the expansion in such polynomials is computationally demanding because you have to evaluate all polynomials and then sum them. Moreover, their coefficients are often large with opposite signs so that there is high risk of round-off errors. The Clenshaw formula allows you to evaluate the function value by a recurrence relation without evaluating the polynomials. It is therefore much faster and almost always numerically stable. The equation given here is just a special form for evaluating the series of Chebyshev polynomials of the first kind, but the algorithm can be used for any polynomial that obeys some recurrence relation. When I have some more time, I will rewrite this chapter generally including detailed derivation and references to literature. --Zdeněk Wagner (talk) 14:44, 12 November 2008 (UTC)Reply

Like Microsoft User Support edit

This article is like an answer from the Microsoft User Support: short, correct and absolutly useless. It is just for people who have known it allready better before. Now they have learned that there is another suffisticated way to explain it complicated. See Alan Greenspan's Methode: "If you understand it, I haven't explained it properly." CBa--79.219.230.24 (talk) 10:21, 29 January 2011 (UTC)Reply


There's an error in the Chebyshev section; the equations listed are only covered to degree 2 for some reason.

Arghman (talk) 17:47, 30 September 2012 (UTC)Reply