Talk:Clenshaw algorithm

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

Yes, they can be evaluated quickly, just replace $$x$$ with $$2x$$ in the expression for $$b_0$$. 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)

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

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

The last equation ( $$p\left( x\right) =b_0$$  ) can't be right

I would like to know:

Given polynomial, with coefficients $$b_n$$:

$$p\left( x\right) =\sum\limits_{n=0}^{N}b_{n}x^{n}$$

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

$$p\left( x\right) =\sum\limits_{n=0}^{N}a_{n}T_{n}\left( x\right)$$

- 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)


 * It is quite easy. Look at the definition of Chebyshev polynomials. $$T_{n}$$ is thus a polynomial of $$n$$-th order. If you combine the above written equation, you get the set of $$N+1$$ linear equation for $$N+1$$ unknown coefficients $$a_{n}$$. 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 $$x$$. 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)

Like Microsoft User Support
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)

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)