up previous next
ChebyshevPoly --
Orthogonal Polynomials: Chebyshev, Hermite, Laguerre
|
ChebyshevPoly(N: INT, X: RINGELEM): RINGELEM
ChebyshevPoly2(N: INT, X: RINGELEM): RINGELEM |
The function
ChebyshevPoly returns the Chebyshev polynomial (of 1st
type) with index
N, in the indeterminate
X. The function
ChebyshevPoly2 returns the Chebyshev polynomial of 2nd type.
These functions also work if
X is not an indeterminate: the result
is then the evaluation of the polynomial at the given value.
/**/ use R ::= QQ[x];
/**/ ChebyshevPoly(3,x);
4*x^3 -3*x
|