E407: Summation of Chebyshev Series

Author(s): K.S. Kölbig Library: MATHLIB
Submitter: Submitted: 24.01.1986
Language: Fortran Revised: 15.11.1995

Function subprograms RCHSUM and DCHSUM compute, for real arguments x in the specified intervals, one of the following four sums:

displaymath91

where tex2html_wrap_inline93 is the Chebyshev polynomial of degree n and tex2html_wrap_inline97 .

On CDC and Cray computers, the double-precision version DCHSUM is not available.

Structure:

FUNCTION subprograms
User Entry Names: RCHSUM, DCHSUM
Obsolete User Entry Names: CHSUM tex2html_wrap_inline99 RCHSUM

Usage:

In any arithmetic expression,

RCHSUM(MODE,C,N,X) or DCHSUM(MODE,C,N,X)

has the value of the sum selected by MODE. RCHSUM is of type REAL, and DCHSUM is of type DOUBLE PRECISION. C and X have the same type as the function name. MODE and N are of type INTEGER.
MODE
Type of sum to be evaluated tex2html_wrap_inline101 .
C
One-dimensional array with dimension (0:d), tex2html_wrap_inline103 , containing the coefficients
tex2html_wrap_inline105 .
N
Limit N of summation.
X
Argument x.

Notes:

Note that some authors use a different definition for the constant term in (1), (2) and (4), i.e. tex2html_wrap_inline111 instead of tex2html_wrap_inline113 . Here, the definition of Ref. 1 is used.

References:

  1. Y.L. Luke, Mathematical functions and their approximations, (Academic Press, New York 1975)
  2. C.W. Clenshaw, Chebyshev series for mathematical functions, Mathematical Tables, Vol.5 (National Physical Laboratory, London, 1962).
tex2html_wrap_inline115



Michel Goossens Wed Jun 5 03:43:28 METDST 1996