This function evaluates the N-term Chebyshev series.
CSEVL — Function value. (Output)
X — Argument at which the series is to be evaluated. (Input)
CS — Vector of
length N
containing the terms of a Chebyshev series. (Input)
In
evaluating CS,
only half of the first coefficient is summed.
N — Number of
terms in the vector CS.
(Input)|
Default: N = size(CS, 1)
Generic: CSEVL (X, CS [,…])
Specific: The specific interface names are S_CSEVL and D_CSEVL.
Single: CSEVL (X, CS, N)
Double: The double precision function name is DCSEVL.
Function CSEVL evaluates a Chebyshev series whose coefficients are stored in the array s of length n at the point x. The argument x must lie in the interval[−1, +1]. Other finite intervals can be linearly transformed to this canonical interval. Also, the number of terms in the series must be greater than zero but less than 1000. This latter limit is purely arbitrary; it is imposed in order to guard against the possibility of a floating point number being passed as an argument for n.
Informational error
Type Code
3 7 X is outside the interval (−1.1, +1.1)
PHONE: 713.784.3131 FAX:713.781.9260 |