toms418


toms418, a Fortran77 code which estimates Fourier integrals of the form integral ( a<=x<=b ) f(x) * cos(wx) dx, or integral ( a<=x<=b ) f(x) * sin(wx) dx, by Bo Einarsson. This is a version of ACM toms algorithm 418.

The text of many ACM TOMS algorithms is available online through ACM: https://www.acm.org/pubs/calgo or NETLIB: https://www.netlib.org/toms/index.html.

Usage:

call fspl2 ( f, a, b, fpa, fpb, fba, fbb, w, eps, max, lc, ls, c, s )
estimates the integral of F(X)*COS(W*X) and F(X)*SIN(W*X).

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

toms418 is available in a Fortran77 version.

Related Programs:

toms418_test

intlib, a Fortran90 library which includes routines to do Filon quadrature.

toms353, a Fortran77 library which estimates an integral of the form integral ( a <= x <= b ) f(x) cos(w*x) dx or integral ( a <= x <= b ) f(x) sin(w*x) dx using Filon quadrature, by Chase and Fosdick. This is a version of ACM toms algorithm 353.

Author:

Original Fortran77 version by Bo Einarsson. This version by John Burkardt.

Reference:

  1. Bo Einarsson,
    Algorithm 418: Calculation of Fourier Integrals,
    Communications of the ACM,
    Volume 15, Number 1, January 1972, pages 47-48.

Source Code:


Last revised on 14 November 2023.