ACM Home Page
Please provide us with feedback. Feedback
Algorithm 867: QUADLOG—a package of routines for generating Gauss-related quadrature for two classes of logarithmic weight functions
Full text PdfPdf (209 KB)
Source
ACM Transactions on Mathematical Software (TOMS) archive
Volume 33 ,  Issue 3  (August 2007) table of contents
Article No. 20  
Year of Publication: 2007
ISSN:0098-3500
Authors
Nelson H. F. Beebe  University of Utah, Salt Lake City, UT
James S. Ball  University of Utah, Salt Lake City, UT
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 12,   Downloads (12 Months): 111,   Citation Count: 1
Additional Information:

appendices and supplements   abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1268769.1268774
What is a DOI?

APPENDICES and SUPPLEMENTS
Zip867.zip (38.48 MB)
Software for QUADLOG---a package of routines for generating Gauss-related quadrature for two classes of logarithmic weight functions


ABSTRACT

A collection of subroutines and examples of their uses are described for the quadrature method developed in the companion article. These allow the exact evaluation (up to computer truncation and rounding errors) of integrals of polynomials with two general types of logarithmic weights, and also with the corresponding nonlogarithmic weights. The recurrence coefficients for the related nonclassical orthogonal polynomials with logarithmic weight functions can also be obtained. Tests of accuracy on various platforms are presented.

The routines are usable from Fortran, C, and C++ programs conforming to any of at least six international programming-language standards.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Abbott, P. H., Brush, D. G., Clark III, C. W., Crone, C. J., Ehrman, J. R., Ewart, G. W., Goodrich, C. A., Hack, M., Kapernick, J. S., Minchau, B. J., Shepard, W. C., Smith, R. M., Sr., Tallman, R., Walkowiak, S., Watanabe, A., and White, W. R. 1999. Architecture and software support in IBM S/390 Parallel Enterprise Servers for IEEE floating-point arithmetic. IBM J. Resear. Develop. 43, 5/6, 723--760.
 
2
 
3
4
 
5
 
6
 
7
 
8
 
9
ANSI. 1978. American National Standard Programming Language FORTRAN: approved April 3, 1978, American National Standards Institute, Inc., ANSI X3.9-1978. Revision of ANSI X3.9-1966, Rev. Ed. American National Standards Institute, 1430 Broadway, New York, NY. http://observer.gsfc.nasa.gov/iteams/doc/ansi_f77.ps, http://observer.gsfc.nasa.gov/iteams/doc/f77.doc, http://observer.gsfc.nasa.gov/iteams/doc/f77_cov.pdf, and http://observer.gsfc.nasa.gov/iteams/doc/f77_doc.pdf.
 
10
ANSI. 1986. ANSI X3.4-1986, Code for Information Interchange. American National Standards Institute, 1430 Broadway, New York, NY 10018.
 
11
Apple Computer, Inc., IBM Corporation, and Motorola, Inc. 1995. PowerPC Microprocessor Common Hardware Reference Platform: A System Architecture. Morgan Kaufmann Publishers.
12
 
13
Beebe, N. H. F. Algorithm ndiff---A numeric file difference utility. ACM Trans. Math. Softw. To appear. http://www.math.utah.edu/~beebe/software/ndiff.
 
14
Beebe, N. H. F. and Ball, J. S. Algorithm Quadruple-precision Γ(x) and ψ(x) functions for real arguments. ACM Trans. Math. Softw. To appear.
 
15
Beyer, W. H., Ed. 1978. CRC Handbook of Mathematical Sciences, 5th ed. CRC Press, 2000 N.W. Corporate Blvd., Boca Raton, FL.
 
16
Bowdler, H. J., Martin, R. S., Reinsch, C., and Wilkinson, J. H. 1968. The QR and LR algorithms for symmetric matrices. Numerische Mathematik 11, 293--306.
 
17
Carmignani, M. and Macaluso, A. T. 1981. Computation of the special functions Γ(x), log Γ(x), β(x, y), erf(x), erfc (x) to a high degree of precision. Atti Accad. Sci. Lett. Arti Palermo Ser. (5) 2, 1, 7--25 (1985).
 
18
Carmignani, M., Puleo, G., and Macaluso, A. T. 1980. Calculating to high precision the Euler--Mascheroni constant and generalized harmonic series. First applications to the calculation of the function Γ(x). Atti Accad. Sci. Lett. Arti Palermo Parte I (4) 40, 2, 211--223 (1984).
 
19
Casanova, H., Dongarra, J., and Doolin, D. M. 1997. Java access to numerical libraries. Concurrency: Prac. Exper. 9, 11 (Nov.), Special Issue: Java for Computational Science and Engineering---Simulation and Modeling II. 1279--1291.
 
20
Char, B. W. 1980. On Stieltjes' continued fraction for the gamma function. Math. Comput. 34, 150 (April), 547--551.
 
21
Cobalt Blue, Inc. 1988. FOR_C: Fortran 77 to C translator. 11585 Jones Bridge Rd, Ste 420-306, Alpharetta, GA. http://www.cobalt-blue.com.
22
23
 
24
25
26
27
28
29
30
31
 
32
Dongarra, J. J., Moler, C. B., Bunch, J. R., and Stewart, G. W. 1979. LINPACK Users' Guide. Society for Industrial and Applied Mathematics, Philadelphia, PA.
 
33
 
34
Dubrulle, A. A. 1983. Class of numerical methods for the computation of Pythagorean sums. IBM J. Res. Develop. 27, 6 (Nov.), 582--589.
 
35
 
36
Evans, D. 1998. LCLint: a tool for statically checking C programs. World-Wide Web document and source code. http://lclint.cs.virginia.edu/.
 
37
Fransén, A. 1981. Addendum and corrigendum to: High-precision values of the gamma function and of some related coefficients {Math. Comp. 34 (1980), no. 150, 553--566, MR 81f:65004} by Fransén and S. Wrigge. Mathem. Computat. 37, 155 (July), 233--235.
 
38
Fransén, A. and Wrigge, S. 1980. High-precision values of the gamma function and of some related coefficients. Mathem. Computat. 34, 150 (Apr.), 553--566.
 
39
Free Software Foundation. 1996. Porting the GNU C library. http://www.gnu.org/software/libc/porting.html.
 
40
Free Software Foundation. 1998. Makefile conventions. ftp://ftp.gnu.org/gnu/GNUinfo/standards.*.
 
41
Fullerton, L. W. 1978. FNLIB: Special function library. Developed at Los Alamos National Laboratory. ftp://ftp.netlib.org/fn/.
 
42
Galassi, M., Davies, J., Theiler, J., Gough, B., Priedhorsky, R., Jungman, G., and Booth, M. 1999. GNU Scientific Library---Reference Manual. Free Software Foundation, 675 Mass Ave, Cambridge, MA. Edition 0.5+, for gsl-0.5+. ftp://sourceware.cygnus.com/pub/gsl and ftp://alpha.gnu.org/gnu/.
 
43
Garbow, B. S., Boyle, J. M., Dongarra, J. J., and Moler, C. B. 1977. Matrix eigensystem routines---EISPACK guide extension. Lecture Notes in Computer Science, G. Goos and J. Hartmanis, Eds. vol. 51. Springer-Verlag, Berlin, Germany.
44
 
45
 
46
Gradshteyn, I. S. and Ryzhik, I. M. 1965. Table of Integrals, Series, and Products, 4th Ed. Academic Press, New York, NY.
 
47
Hal Computer Systems, Inc. 2000. SPARC64-GP processor. http://mpd.hal.com/products/SPARC64-GP.html.
48
49
 
50
 
51
 
52
IEC. 1989. IEC 60559 (1989-01): Binary Floating-Point Arithmetic for Microprocessor Systems. International Electrotechnical Commission, 3, rue de Varembé, PO Box 131, CH-1211 Geneva 20, Switzerland.
 
53
IEEE. 1985. ANSI/IEEE 754-1985, Standard for Binary Floating-Point Arithmetic. IEEE, New York, NY.
 
54
Intel Corporation 2000. Intel IA-64 Architecture Software Developer's Manual. Volume 1: IA-64 Application Architecture. Intel Corporation, Santa Clara, CA. http://developer.intel.com/design/ia-64/downloads/245317.htm.
 
55
ISO. 1983. ISO Standard 646, 7-Bit Coded Character Set for Information Processing Interchange, 2nd Ed. International Organization for Standardization, Geneva, Switzerland.
 
56
ISO. 1988. ISO 9660:1988: Information processing: volume and file structure of CD-ROM for information interchange = Traitement de l'information: structure de volume et de fichier des disques optiques compacts a mémoire fixe (CD-ROM) destinés a l'échange d'information, International Organization for Standardization, Geneva, Switzerland.
 
57
ISO. 1990. ISO/IEC 9899:1990: Programming Languages---C. International Organization for Standardization, Geneva, Switzerland.
 
58
ISO. 1991. ISO/IEC 646:1991 Information Technology---ISO 7-Bit Coded Character Set for Information Interchange. International Organization for Standardization, Geneva, Switzerland.
 
59
ISO. 1997. ISO/IEC 1539-1:1997: Information technology---Programming languages---Fortran---Part 1: Base language. International Organization for Standardization, Geneva, Switzerland.
 
60
ISO. 1998. ISO/IEC 14882:1998: Programming Languages---C++. International Organization for Standardization, Geneva, Switzerland. http://webstore.ansi.org/and http://www.cssinfo.com/.
 
61
ISO. 1999. ISO/IEC 9899:1999: Programming Languages---C. International Organization for Standardization, Geneva, Switzerland. http://webstore.ansi.org/and http://www. cssinfo.com/.
 
62
ISO and IEC. 1991. International Standard: Information, Technology, Programming Languages, Fortran, 2nd Ed. International Organization for Standardization, Geneva, Switzerland.
 
63
 
64
 
65
66
67
 
68
69
 
70
MacKenzie, D. 1992. GNU Autoconf: A package for creating scripts to configure source code packages using templates and an m4 macro package. ftp://ftp.gnu.org/gnu/autoconf/.
71
 
72
Moler, C. and Morrison, D. 1983. Replacing square roots by Pythagorean sums. IBM J. Resear. Develop. 27, 6 (Nov.), 577--581.
 
73
Moniot, R. K. 1991. ftnchek: a static analyzer for Fortran 77 programs. http://dsm.dsm. fordham.edu/~ftnchek/.
74
75
 
76
 
77
 
78
Schwarz, E. M. and Krygowski, C. A. 1999. The S/390 G5 floating-point unit. IBM J. Resear. Develop. 43, 5/6, 707--721.
 
79
Seymour, K. and Dongarra, J. 2003. Automatic translation of Fortran to JVM bytecode. Concurrency Comput.: Prac. Exper. 15, 3--5 (Mar./Apr.), 207--222.
 
80
 
81
Smith, B. T., Boyle, J. M., Dongarra, J. J., Garbow, B. S., Ikebe, Y., Klema, V. C., and Moler, C. B. 1976. Matrix Eigensystem Routines---EISPACK Guide. Lecture Notes in Computer Science, G. Goos and J. Hartmanis, Eds. vol. 6. Springer-Verlag, Berlin, Germany.
 
82
 
83
Sun Microsystems, Inc. 1995. fdlibm: A freely distributable math library. ftp://ftp.netlib. org/fdlibm/.
 
84
 
85
 
86
 
87
 
88
Zheng, Q., Wu, Z., Fox, G., and Li, X. 1998. F2j: A prototype of Fortran-to-Java converter. http://www.npac.syr.edu/projects/pcrc/f2j.html.



REVIEW

"Charles Raymond Crawford : Reviewer"

QUADLOG and a previous TOMS algorithm ORTHPOL [1] might be considered simple utility routines. As presented in many texts in numerical analysis, Gaussian quadrature is just a set of simple formulas rather than an algorithm. Given the interv  more...

Collaborative Colleagues:
Nelson H. F. Beebe: colleagues
James S. Ball: colleagues