polynomial.functions: Coerce polynomials to functions

View source: R/polynomial.functions.R

polynomial.functionsR Documentation

Coerce polynomials to functions

Description

This function returns a list with n + 1 elements containing the functions of the order $k$ polynomials for orders k = 0,\;1,\; … ,\;n and for the given argument x.

Usage

polynomial.functions(polynomials, ...)

Arguments

polynomials

a list of polynomial objects

...

further arguments to be passed to or from methods

Details

The function uses the method as.function.polynomial to coerce each polynomial object to a function object.

Value

A list of n + 1 polynomial objects where each element is the function for the polynomial.

1

Function for the order 0 polynomial

2

Function for the order 1 polynomial

...

n+1

Function for the order n polynomial

Author(s)

Frederick Novomestky fnovomes@poly.edu

Examples

###
### generate a list of T Chebyshev polynomials of
### orders 0 to 10
###
p.list <- chebyshev.t.polynomials( 10, normalized=FALSE )
###
### create the list of functions for each polynomial
###
f.list <- polynomial.functions( p.list )

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