toms655, a MATLAB code which computes weights for interpolatory quadrature schemes, by Sylvan Elhay and Jaroslav Kautsky.
Thus, the typical use of this library is for the user to specify a quadrature interval, a weight function, and a sequence of abscissas (which may be repeated), and to request the corresponding weight vector so that an interpolatory quadrature rule is produced.
Note that when an abscissa is repeated, this indicates that, at this point, not only the function value but one or more derivatives are to be used in the quadrature formula.
The library is also suitable for the simpler task of computing both the abscissas and weights for a variety of classical Gaussian quadrature rules, including
|Chebyshev Type 1||(a,b)||((b-x)*(x-a))^(-0.5)|
|Laguerre and Generalized Laguerre||(a,+oo)||(x-a)^alpha*exp(-b*(x-a))|
|Hermite and Generalized Hermite||(-oo,+oo)|||x-a|^alpha*exp(-b*(x-a)^2)|
The text of many ACM TOMS algorithms is available online through ACM: https://calgo.acm.org/ or NETLIB: https://www.netlib.org/toms/index.html.
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
toms655 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
chebyshev1_rule, a MATLAB code which can compute and print a gauss-chebyshev type 1 quadrature rule.
chebyshev2_rule, a MATLAB code which can compute and print a gauss-chebyshev type 2 quadrature rule.
gegenbauer_rule, a MATLAB code which can compute and print a gauss-gegenbauer quadrature rule.
gen_hermite_rule, a MATLAB code which can compute and print a generalized gauss-hermite quadrature rule.
gen_laguerre_rule, a MATLAB code which can compute and print a generalized gauss-laguerre quadrature rule.
hermite_rule, a MATLAB code which computes a gauss-hermite quadrature rule.
jacobi_rule, a MATLAB code which can compute and print a gauss-jacobi quadrature rule.
laguerre_rule, a MATLAB code which can compute and print a gauss-laguerre quadrature rule.
legendre_rule, a MATLAB code which computes a gauss-legendre quadrature rule.
quadmom, a MATLAB code which computes a gaussian quadrature rule for a weight function rho(x) based on the golub-welsch procedure that only requires knowledge of the moments of rho(x).
quadrule, a MATLAB code which contains information about quadrature rules, both as tabulated values, and as computational procedures.