View source: R/quadrature.rules.R
quadrature.rules | R Documentation |
This function returns a list with n elements containing the order $k$ quadrature rule data frames for orders k = 1,\;2,\; … ,\;n.
quadrature.rules(recurrences, inner.products)
recurrences |
a data frame with the recurrence parameters of a particular orthogonal polynomial |
inner.products |
a numeric vector of normed squared values of the orthogonal polynomials |
An order k quadrature data frame is a named data frame that contains the roots and abscissa values for the quadrature rule based on an order k orthgonal polynomial.
A list with n elements each of which is a quadrature rule data frame
1 |
Quadrature rule for the order 1 orthogonal polynomial |
2 |
Quadrature rule for the order 2 orthogonal polynomial |
...
n |
Quadrature rule for the order n orthogonal polynomial |
Frederick Novomestky fnovomes@poly.edu
Abramwitz and Stegun (1968)
### ### get recurrences the Chebyshev T orthgonal polynomials ### of orders 0 to 6\5 ### recurrences <- chebyshev.t.recurrences( 5 ) ### ### get the inner products of these polynomials ### inner.products <- chebyshev.t.inner.products( 5 ) ### ### get the quadrature rules ### rules <- quadrature.rules( recurrences, inner.products ) print( rules )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.