Author(s): T. Håvie, K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 01.12.1994 |
Language: Fortran | Revised: |
Function subprograms RTRGSM and DTRGSM compute the sum of the trigonometric series
for a given argument x in the range and given coefficients .
On CDC and Cray computers, the double-precision version DTRGSM is not available.
Structure:
FUNCTION subprogram
User Entry Names: RTRGSM, DTRGSM
Usage:
In any arithmetic expression, for (type REAL), (type DOUBLE PRECISION),
tTRGSM(X,A,N,B,M,IOP)has the value f(x).
Method:
Standard recurrence relations are used for calculating the sum (see Ref. 1).
Notes:
For a function f(z) given in the range , use the transformation
References: