A C99 Implementation of the Clausen Sums
Abstract
A C99 program is presented which calculates the Clausen sums for non-negative integer indices j and real arguments x. The implementation is split into three major cases. For large j, a direct, truncated summation of the sum is performed. For smaller j, the associate polynomial of x is evaluated if applicable; otherwise a Chebyshev series is constructed by repeated integration of a (truncated) Chebyshev representation of Cl2(x), and evaluated.
0
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.