Accuracy and Speed in Computing the Chebyshev Collocation Derivative
暂无分享,去创建一个
We study several algorithms for computing the Chebyshev spectral derivative and compare their roundoff error. For a large number of collocation points, the elements of the Chebyshev differentiation matrix, if constructed in the usual way, are not computed accurately. A subtle cause is found to account for the poor accuracy when computing the derivative by the matrix-vector multiplication method. Methods for accurately computing the elements of the matrix are presented and we find that if the entries of the matrix are computed accurately, the roundoff error of the matrix-vector multiplication is as small as that of the transform-recursion algorithm.Furthermore, results of the CPU time usage are shown for several different algorithms for computing the derivative by the Chebyshev collocation method for a wide variety of two-dimensional grid sizes on both an IBM mainframe and a Cray 2 computer. We find that which algorithm is fastest on a particular machine depends not only on the grid size, but also on small...
[1] D. Gottlieb,et al. Numerical analysis of spectral methods : theory and applications , 1977 .
[2] L. Trefethen,et al. An Instability Phenomenon in Spectral Methods , 1987 .
[3] Ernest E. Rothman. Reducing Round-Off Error in Chebyshev Pseudospectral Computations , 1991 .
[4] Alex Solomonoff,et al. A fast algorithm for spectral differentiation , 1992 .
[5] Richard M. Everson,et al. On the errors incurred calculating derivatives using Chebyshev polynomials , 1992 .