Abstract
In this paper, we investigate variants of the well-known Golub and Welsch algorithm for computing nodes and weights of Gaussian quadrature rules for symmetric weights w in intervals (−a, a) (not necessarily bounded). The purpose is to reduce the complexity of the Jacobi eigenvalue problem stemming from Wilf’s theorem and show the effectiveness of Matlab implementations of our variants for reducing the computer times compared to some other methods. Numerical examples on three test problems show the benefits of these variants.
Similar content being viewed by others
References
Bogaert, I., Michiels, B., Foster, J.: 𝒪 computation of Legendre polynomials and Gauss-Legendre nodes and weights for parallel computing. SIAM J. Sci. Comput. 34(2), C83–C101 (2012)
Chan, R.H., Greif, C., O’ Leary, D.P. (eds.): Milestones in matrix computation: the selected works of Gene H. Golub with commentaries. Oxford University Press, Oxford (2007)
Chebfun Team. Jacpts.m, (http://www.mathworks.com/matlabcentral/fileexchange/23972-chebfun/content/chebfun/jacpts.m)
Chebfun Team, Hermpts.m, (http://mathworks.com/matlabcentral/fileexchange/23972-chebfun/content/chebfun/hermpts.m)
Chihara, T.S.: An introduction to orthogonal polynomials. Gordon and Breach, New York (1978)
Da Fies, G., Vianello, M.: Trigonometric Gaussian quadrature on subintervals of the period. Electron. Trans. Numer. Anal. 39, 102–112 (2012)
Da Fies, G., Vianello, M.: Algebraic cubature on planar lenses and bubbles. Dolomites Res. Notes Approx. 5, 7–12 (2012)
Da Fies, G., Sommariva, A., Vianello, M.: Algebraic cubature on generalized elliptical sectors. Appl. Numer. Math. 74, 49–61 (2013)
Davis, P.J., Rabinowitz, P.: Methods of numerical integration, 2nd edn. Dover, New York (1984)
Gautschi, W.: On some orthogonal polynomials of interest in theoretical chemistry. BIT 24, 473–483 (1984)
Gautschi, W.: Algorithm 726: ORTHPOL. A package of routines for generating orthogonal polynomials and Gauss-type quadrature rules. ACM Trans. Math. Softw. 20(1), 21–62 (1994)
Gautschi, W.: The interplay between classical analysis and (numerical) linear algebra- a tribute to Gene H. Golub. Electron. Trans. Numer. Anal. 13, 119–147 (2002)
Gautschi, W.: Orthogonal Polynomials. Computation and Approximation. Oxford Science, Oxford (2004)
Gautschi, W.: Orthogonal polynomials (in Matlab). J. Comput. Appl. Math. 178(1–2), 215–234 (2005)
Gautschi, W.: Sub-range Jacobi polynomials. Numer. Algoritm. 61(4), 649–657 (2012)
Gautschi, W.: OPQ suite, (http://www.cs.purdue.edu/archives/2002/wxg/codes)
Glaser, A., Liu, X., Rokhlin, V.: A fast algorithm for the calculation of the roots of special functions. SIAM J. Sci. Comput. 29, 1420–1438 (2007)
Golub, G.H., Meurant, G.: Matrices, moments and quadrature with applications. Princeton series in applied mathematics (2010)
Golub, G.H., Welsch, J.H.: Calculation of Gauss quadrature rules. Technical report no. CS 81, November 3, 1967. Computer Science Department, School of Humanities and Sciences, Stanford University
Golub, G.H., Welsch, J.H.: Calculation of Gauss quadrature rules. Math. Comput. 23, 221–230 (1969)
Hale, N.: quadpts, (https://github.com/nickhale/quadpts/)
Hale, N., Townsend, A.: Fast and accurate computation of Gauss-Legendre and Gauss-Jacobi nodes and weights. SIAM J. Sci. Comput. 35(2), A652–A674 (2013)
Hale, N., Trefethen, L.N.: Chebfun and numerical quadrature. Sci. China Math. 55(9), 1749–1760 (2012)
Mastroianni, G., Milovanovic, G.V.: Interpolation processes, basic theory and applications, pp. 102–103. Springer (2008)
Meurant, G.: Personal homepage, (http://gerard.meurant.pagesperso-orange.fr/)
Milovanovic, G.V., Cvetkovic, A.S.: Note on a construction of weights in Gauss-type quadrature rule. Facta Univ. Ser. Math. Inform. 15, 69–83 (2000)
Sommariva, A.: Homepage, (http://www.math.unipd.it/alvise/software.html)
Trefethen, L.N.: Approximation theory and approximation practice. Society for Industrial and Applied Mathematics, Philadelphia (2013)
Wilf, H.S.: Mathematics for the Physical Sciences. Wiley, New York (1962). [Reprinted in 1978 by Dover Publications, New York.]
Author information
Authors and Affiliations
Corresponding author
Additional information
Work supported by the “ex-60%” funds and by the project “Interpolation and Extrapolation: new algorithms and applications” of the University of Padova, and by the INdAM GNCS.
Rights and permissions
About this article
Cite this article
Meurant, G., Sommariva, A. Fast variants of the Golub and Welsch algorithm for symmetric weight functions in Matlab. Numer Algor 67, 491–506 (2014). https://doi.org/10.1007/s11075-013-9804-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11075-013-9804-x