Gaussian quadrature rule for arbitrary weight function and interval

被引:6
作者
Fukuda, H [1 ]
Katuya, M
Alt, EO
Matveenko, AV
机构
[1] Univ Shizuoka, Sch Adm & Informat, Shizuoka 4228526, Japan
[2] Univ Mainz, Inst Phys, D-55099 Mainz, Germany
[3] Joint Inst Nucl Res, Bogoliubov Lab Theoret Phys, Dubna 141980, Russia
关键词
Gaussian quadrature; multidimensional integration; abscissas; weights; symbolic computation;
D O I
10.1016/j.cpc.2004.12.010
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
A program for calculating abscissas and weights of Gaussian quadrature rules for arbitrary weight functions and intervals is reported. The program is written in Mathematica. The only requirement is that the moments of the weight function can be evaluated analytically in Mathematica. The result is a FORTRAN subroutine ready to be utilized for quadrature. Program summary Title of program: AWGQ Catalogue identifier: ADVB Program summary URL: http://cpc.cs.qub.ac.uk/summaries/ADVB Program obtained from: CPC Program Library, Queens University, Belfast, N. Ireland Computer for which the program is designed and others on which it has been tested: Computers: Pentium IV 1.7 GHz processor Installations: 512 MB RAM Operating systems or monitors under which the program has been tested: Windows XP Programming language used: Mathematica 4.0 No. of processors used: 1 Has the code been vectorized or parallelized?: No No. of lines in distributed program, including test data, etc.: 1076 No. of bytes in distributed program, including test data, etc.: 32 681 Operating systems under which program has been tested: FORTRAN Distribution format: tar.gz Nature of physical problem: Integration of functions. Method of solution: The recurrence relations defining the orthogonal polynomials for arbitrary weight function and integration interval are written in matrix form. The abscissas and weights for the corresponding Gaussian quadrature are found from the solution of the eigenvalue equation for the tridiagonal symmetric Jacobi matrix. Restrictions on the complexity of the problem: The program is applicable if the moments of the weight function can be evaluated analytically in Mathematica. For our test example the degee of the Gaussian quadrature cannot not he larger than 96, Typical running time: The running time of the test run is about 1 [s] with a Pentium IV 1.7 GHz processor, (c) 2005 Elsevier B.V. All rights reserved.
引用
收藏
页码:143 / 150
页数:8
相关论文
共 3 条
[1]   ASYMPTOTICALLY ADAPTED 3-BODY MOLECULAR-STATES [J].
MATVEENKO, AV ;
ABE, Y .
FEW-BODY SYSTEMS, 1987, 2 (03) :127-143
[2]  
MATVEENKO AV, 2001, FEW-BODY SYST, V13, P140
[3]  
Press W.H., 1992, NUMERICAL RECIPES FO