CHEBYSHEV Function
Standard Library function that implements the forward and reverse Chebyshev polynomial expansion of a set of data.
Usage
result = CHEBYSHEV(data, ntype)
Input Parameters
data—The input data (either the original dataset or the Chebyshev polynomial expansion, depending upon ntype).
ntype—The numeric type to be returned:
–1—To return the set of Chebyshev polynomials.
+1—To return the original data.
Returned Value
result—The numeric type specified by ntype.
Keywords
None.
Discussion
CHEBYSHEV uses a straightforward implementation of the recursion formula. If you use discontinuous data, the result is subject to round-off error.