Learn R Programming

orthopolynom (version 1.0-6.1)

polynomial.coefficients: Create list of polynomial coefficient vectors

Description

This function returns a list with \(n + 1\) elements containing the vector of coefficients of the order \(k\) polynomials for orders \(k = 0,\;1,\; \ldots ,\;n\). Each element in the list is a vector.

Usage

polynomial.coefficients(polynomials)

Value

A list of \(n + 1\) polynomial objects where each element is a vector of coefficients.

1

Coefficient(s) of the order 0 polynomial

2

Coefficient(s) of the order 1 polynomial

...

n+1

Coefficient(s) of the order \(n\) polynomial

Arguments

polynomials

list of polynomial objects

Author

Frederick Novomestky fnovomes@poly.edu

Examples

Run this code
###
### generate a list of normalized T Chebyshev polynomials
### of orders 0 to 10
###
p.list <- chebyshev.t.polynomials( 10, normalized=TRUE )
###
### obtain the list of coefficients for these polynomials
###
p.coef <- polynomial.coefficients( p.list )

Run the code above in your browser using DataLab