polynomial.values {orthopolynom} | R Documentation |
This function returns a list with n + 1
elements containing the values of the
order k
polynomials for orders k = 0,\;1,\; \ldots ,\;n
and for the given argument x
.
polynomial.values( polynomials, x )
polynomials |
list of polynomial objects |
x |
the argument which can be any numeric object |
A list of n + 1
polynomial objects where each element is the value of the polynomial.
1 |
Value(s) for the order 0 polynomial |
2 |
Value(s) for the order 1 polynomial |
...
n+1 |
Value(s) for the order |
Frederick Novomestky fnovomes@poly.edu
###
### generate a list of T Chebyshev polynomials of
### orders 0 to 10
###
p.list <- chebyshev.t.polynomials( 10, normalized=FALSE )
x <- seq( -2, 2, .01 )
###
### compute the value of the polynomials for the given range of values in x
###
y <- polynomial.values( p.list, x )
print( y )