Accuracy and Speed in Computing the Chebyshev Collocation Derivative
Author(s) -
Wai Sun Don,
Alex Solomonoff
Publication year - 1995
Publication title -
siam journal on scientific computing
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.674
H-Index - 147
eISSN - 1095-7197
pISSN - 1064-8275
DOI - 10.1137/0916073
Subject(s) - chebyshev filter , matrix multiplication , algorithm , chebyshev polynomials , mathematics , collocation (remote sensing) , round off error , matrix (chemical analysis) , computation , computer science , mathematical analysis , physics , materials science , quantum mechanics , machine learning , composite material , quantum
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...
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom