powered by
Return the value of the Chebyshev polynomial at specific points.
cheb(n, x)
Polynomial of order x, evaluated at point(s) x.
x
Order of the polynomial, specified as a positive integer.
Point or points at which to calculate the Chebyshev polynomial
André Carezia, acarezia@uol.com.br. Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
The Chebyshev polynomials are defined by the equations:
Tn(x) = cos(n . acos(x), |x|<= 1 Tn(x) = cosh(n . acosh(x), |x|> 1
cp <- cheb(5, 1) cp <- cheb(5, c(2,3))
Run the code above in your browser using DataLab