Learn R Programming

orthopolynom (version 1.0-3)

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)

Arguments

polynomials
list of $n$ polynomial objects

Value

  • A vector of $n$ values
  • 1Order of polynomials[[1]]
  • 2Order of polynomials[[2]]
  • ...
  • nOrder of polynomials[[n]]

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