Learn R Programming

orthopolynom (version 1.0-6.1)

polynomial.orders: Create vector of polynomial orders

Description

This function returns a vector with \(n\) elements containing the orders of the polynomials

Usage

polynomial.orders(polynomials)

Value

A vector of \(n\) values

1

Order of polynomials[[1]]

2

Order of polynomials[[2]]

...

n

Order of polynomials[[n]]

Arguments

polynomials

list of $n$ 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 )
###
### get the vector of polynomial orders
###
p.order <- polynomial.orders( p.list )

Run the code above in your browser using DataLab