quadmom_test
quadmom_test,
an Octave code which
calls quadmom(), 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).
Licensing:
The computer code and data files made available on this web page
are distributed under
the MIT license
Related Data and Programs:
quadmom,
an Octave 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).
Source Code:
-
quadmom_test01.m,
demonstrates the procedure for the Legendre weight rho(x)=1
over the interval [-1,+1].
-
quadmom_test02.m,
demonstrates the procedure for the standard Gaussian weight.
-
quadmom_test03.m,
demonstrates the procedure for a general Gaussian weight.
-
quadmom_test04.m,
demonstrates the procedure for the Laguerre weight.
-
quadmom_test05.m,
demonstrates the procedure for a truncated normal weight.
-
quadmom_test06.m,
demonstrates the procedure for a lower truncated normal weight.
-
quadmom_test07.m,
demonstrates the procedure for an upper truncated normal weight.
-
quadmom_test08.m,
integrates sine(x) against a lower truncated normal weight.
Last revised on 15 February 2019.