Suppose you have a trigonometric polynomial of the form \begin{equation*} x(t) = \sum_{k = 0}^N a_k \cos(2 \pi k f_0 t). \end{equation*} Using Clenshaw algorithm, one can evaluate this polynomial in $O(N)$, just as an ordinary polynomial via Horner's rule. Now:
- Is it possible to evaluate $x(t)$ in less than $O(N)$ in general? Also negative or partial results are appreciated.
- What if $x(t)$ has a particular form? For example, if $a_k = \frac{(-1)^k}{k}$, $x(t)$ is the truncated Fourier series of a sawtooth wave.
- In case of negative answer, is there at least some fast algorithm that approximates $x(t)$?
Thank you in advance.