The CHEBYSHEV function returns the forward or reverse Chebyshev polynomial expansion of a set of data. Note: Results from this function are subject to roundoff error given discontinuous data.
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.