polynomial.coefficients: Create list of polynomial coefficient vectors

View source: R/polynomial.coefficients.R

polynomial.coefficientsR Documentation

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,\; … ,\;n. Each element in the list is a vector.

Usage

polynomial.coefficients(polynomials)

Arguments

polynomials

list of polynomial objects

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

Author(s)

Frederick Novomestky fnovomes@poly.edu

Examples

###
### 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 )

orthopolynom documentation built on Oct. 3, 2022, 5:08 p.m.