Last chance! 50% off unlimited learning
Sale ends in
This function returns a list with
chebyshev.s.quadrature.rules(n,normalized=FALSE)
integer value for the highest order
boolean value. if TRUE rules are for orthonormal polynomials, otherwise they are for orthgonal polynomials
A list with
Quadrature rule data frame for the order 1 Chebyshev polynomial
Quadrature rule data frame for the order 2 Chebyshev polynomial
Quadrature rule data frame for the order
An order x
contains the roots or zeros and
the column with name w
contains the weights.
Abramowitz, M. and I. A. Stegun, 1968. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, Dover Publications, Inc., New York.
Press, W. H., S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, 1992. Numerical Recipes in C, Cambridge University Press, Cambridge, U.K.
Stroud, A. H., and D. Secrest, 1966. Gaussian Quadrature Formulas, Prentice-Hall, Englewood Cliffs, NJ.
# NOT RUN {
###
### generate a list of quadrature rules for
### the Chebyshev S orthogonal polynomials
### for orders 1 to 5
###
orthogonal.rules <- chebyshev.s.quadrature.rules( 5 )
print( orthogonal.rules )
###
### generate a list of quadrature rules for
### the Chebyshev S orthogonal polynomials
### for orders 1 to 5
###
orthonormal.rules <- chebyshev.s.quadrature.rules( 5, TRUE )
print( orthonormal.rules )
# }
Run the code above in your browser using DataLab