Reference Guide > C Routines > CHEBYSHEV Function
  

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
dataThe 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.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.