laguerre.quadrature.rules {gaussquad}R Documentation

Create list of Laguerre quadrature rules

Description

This function returns a list with nn elements containing the order kk quadrature rule data frame for the Laguerre polynomial for orders k=1,  2,  ,  nk = 1,\;2,\; \ldots ,\;n.

Usage

laguerre.quadrature.rules(n,normalized=FALSE)

Arguments

n

integer value for the highest order

normalized

boolean value. if TRUE rules are for orthonormal polynomials, otherwise they are for orthgonal polynomials

Details

An order kk quadrature data frame is a named data frame that contains the roots and abscissa values of the corresponding order kk orthogonal polynomial. The column with name x contains the roots or zeros and the column with name w contains the weights.

Value

A list with nn elements each of which is a data frame

1

Quadrature rule data frame for the order 1 Laguerre polynomial

2

Quadrature rule data frame for the order 2 Laguerre polynomial

...

n

Quadrature rule data frame for the order nn Laguerre polynomial

Author(s)

Frederick Novomestky fnovomes@poly.edu

References

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.

See Also

quadrature.rules, laguerre.quadrature

Examples

###
### generate a list of the quadrature rule frames for
### the orthogonal Laguerre polynomials
### of orders 1 to 5
###
orthogonal.rules <- laguerre.quadrature.rules( 5 )
print( orthogonal.rules )
###
### generate a list of the quadrature rule frames for
### the orthonormal Laguerre polynomials
### of orders 1 to 5
###
orthonormal.rules <- laguerre.quadrature.rules( 5, TRUE )
print( orthonormal.rules )

[Package gaussquad version 1.0-3 Index]