polynomial.orders: Create vector of polynomial orders

View source: R/polynomial.orders.R

polynomial.ordersR Documentation

Create vector of polynomial orders

Description

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

Usage

polynomial.orders(polynomials)

Arguments

polynomials

list of $n$ polynomial objects

Value

A vector of n values

1

Order of polynomials[[1]]

2

Order of polynomials[[2]]

...

n

Order of polynomials[[n]]

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

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