QUADRATURE_RULES_GEN_HERMITE
Quadrature Rules of Generalized Gauss-Hermite Type


QUADRATURE_RULES_GEN_HERMITE is a dataset directory which contains examples of quadrature rules of Generalized Gauss-Hermite type.

Generalized Gauss-Hermite quadrature rules are a generalization of the basic Gauss-Hermite quadrature rule. The generalization involves including a factor of |x|^alpha in the weight factor. (The parameter alpha is a real value which may take on any value greater than -1.0.)

Generalized Gauss-Hermite quadrature rules are designed to approximate integrals on infinite intervals.

Standard generalized Gauss-Hermite quadrature assumes that the integrand we are considering has a form like:

        Integral ( -oo < x < oo ) |x|^alpha * exp(-x^2) * f(x) dx
      
where the factor |x|^alpha * exp(-x^2) is regarded as a weight factor.

A standard generalized Gauss-Hermite quadrature rule is a set of n positive weights w and abscissas x so that

        Integral ( -oo < x < oo ) |x|^alpha * exp(-x^2) * f(x) dx
      
may be approximated by
        Sum ( 1 <= I <= N ) w(i) * f(x(i))
      

It is often convenient to consider approximating integrals in which the weighting factor |x|^alpha * exp(-x^2) is implicit. In that case, we are looking at approximating

        Integral ( -oo < x < oo ) f(x) dx
      
and it is easy to modify a standard generalized Gauss-Hermite quadrature rule to handle this case directly.

A modified generalized Gauss-Hermite quadrature rule is a set of n positive weights w and abscissas x so that

        Integral ( -oo < x < oo ) f(x) dx
      
may be approximated by
        Sum ( 1 <= I <= N ) w(i) * f(x(i))
      

When using a generalized Gauss-Hermite quadrature rule, it's important to know whether the rule has been developed for the standard or modified cases. Basically, the only change is that the weights of the modified rule have been multiplied by the inverse of the weight function evaluated at the corresponding abscissa.

For this directory, a quadrature rule is stored as three files, containing the weights, the points, and a file containing two points defining the endpoints of the region. The first endpoint is either 0 or A; the second endpoint is really infinity, and we will simply place a "large" value here, trusting that the user will already know that this is merely a placeholder for infinity.

Example:

We consider a standard generalized Gauss-Hermite quadrature rule of order 4, with ALPHA = 1.0.

Here is the text of the "W" file storing the weights of such a rule:


        0.7322330470336313E-01
        0.4267766952966369    
        0.4267766952966369    
        0.7322330470336313E-01
      

Here is the text of the "X" file storing the abscissas of such a rule:


        -1.847759065022573    
        -0.7653668647301796    
         0.7653668647301796    
         1.847759065022573
      

Here is the text of the "R" file storing the lower and upper limits of the region:


        -1.0E+30
         1.0E+30
      

The modified rule of order 4 and ALPHA = 1.0 has the same values of X and R, but the modified weights are now:


        1.204420375824328    
        1.001693503977319    
        1.001693503977319    
        1.204420375824328  
      

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

GEN_HERMITE_RULE, a FORTRAN90 program which can compute a generalized Gauss-Hermite quadrature rule (standard or modified) and print it, or save it as weight, abscissa, and region files.

INT_EXACTNESS_GEN_HERMITE, a FORTRAN90 program which can read a set of files defining a generalized Gauss-Hermite quadrature rule, and test it for exactness against monomial integrands.

QUADRATURE_RULES_HERMITE_PHYSICIST, a dataset directory which contains Gauss-Hermite quadrature rules, for integration on the interval (-oo,+oo), with weight function exp(-x^2).

QUADRATURE_RULES_HERMITE_PROBABILIST, a dataset directory which contains Gauss-Hermite quadrature rules, for integration on the interval (-oo,+oo), with weight function exp(-x^2/2).

QUADRATURE_RULES_HERMITE_UNWEIGHTED, a dataset directory which contains Gauss-Hermite quadrature rules, for integration on the interval (-oo,+oo), with weight function 1.

QUADRATURE_TEST, a MATLAB program which reads the definition of a multidimensional quadrature rule from three files, applies the rule to a number of test integrals, and prints the results.

QUADRULE, a FORTRAN90 library which defines various quadrature rules.

Sample Files:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = -0.5:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = 0.0:

Standard Generalized Gauss-Hermite Rule, Order 1, ALPHA = 1.0:

Standard Generalized Gauss-Hermite Rule, Order 2, ALPHA = 1.0:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = 1.0:

Standard Generalized Gauss-Hermite Rule, Order 8, ALPHA = 1.0:

Standard Generalized Gauss-Hermite Rule, Order 16, ALPHA = 1.0:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = 2.0:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = 4.0:

Standard Generalized Gauss-Hermite Rule, Order 4, ALPHA = 6.0:

Modified Generalized Gauss-Hermite Rule, Order 4, ALPHA = 0.0:

Modified Generalized Gauss-Hermite Rule, Order 1, ALPHA = 1.0:

Modified Generalized Gauss-Hermite Rule, Order 2, ALPHA = 1.0:

Modified Generalized Gauss-Hermite Rule, Order 4, ALPHA = 1.0:

Modified Generalized Gauss-Hermite Rule, Order 8, ALPHA = 1.0:

Modified Generalized Gauss-Hermite Rule, Order 16, ALPHA = 1.0:

Modified Generalized Gauss-Hermite Rule, Order 4, ALPHA = 2.0:

You can go up one level to the DATASETS page.


Last revised on 07 September 2007.