invchebcoefs(vector(b0,b1,...,bn)), b0, b1, ... non MISSING REAL scalars |

Suppose Pn(x) = b0+b1*T1(x)+...+bn*Tn(x), where Tj(x) is the Chebyshev polynomial of degree j, defined as Tj(x) = cos(j*acos(x)) for -1 <= x <= 1. Then Pn(x) is a polynomial and can be expressed as Pn(x) = a0+a1*x+ ... + an*x^n. invchebcoefs(vector(b0,b1,...,bn)), where b0, ..., bn are non MISSING real scalars, returns vector(a0,a1,...,an), the coefficients of the powers of x of Pn(x). See also topic chebcoefs().

Gary Oehlert 2003-01-15