ChebPoly | R Documentation |
ChebPoly(n, x)
evaluates the Chebyshev nth order polynomial of the first kind
T_n(x)
, where T_n(x) = cos(n*acos(x))
.
ChebPoly(n, x)
n |
order of polynomial. |
x |
points, in which we want to compute the value of polynomial. |
Function returns values of nth order Chebysev polynomial of the first kind evaluated in points x
.
Ver.: 01-Oct-2018 12:33:49 (consistent with Matlab CharFunTool v1.3.0, 07-Sep-2017 16:20:17).
For more details see also https://en.wikipedia.org/wiki/Chebyshev_polynomials.
Other Utility Function:
ChebCoefficients()
,
ChebPoints()
,
ChebPolyValues()
,
ChebValues()
,
GammaLog()
,
GammaMultiLog()
,
GammaMulti()
,
GammaZX()
,
Hypergeom1F1MatApprox()
,
Hypergeom1F1Mat()
,
Hypergeom2F1Mat()
,
Hypergeom2F1()
,
HypergeompFqMat()
,
InterpChebValues()
,
hypergeom1F1()
,
interpBarycentric()
## EXAMPLE 1
n <- 0:5
x <- ChebPoints(32, c(-1, 1))
pval <- ChebPoly(n, x[[1]])
matplot(x[[1]], t(pval),
main = 'Chebyshev polynomials T_n(x) evaluated at Chebyshev points',
type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.