An Efficient QTT Representation of a General Weierstrass Function
Let \(f : \mathbb{R} \rightarrow \mathbb{R}\) be a periodic function with period \(2\). Then, for parameters \(a\) and \(b\), we define the Weierstrass sum to be the function \[W_{a,b}[f](x)=\sum_{n=0}^\infty a^n f(b^n x).\] In order for the sum to converge, we assume that \(0 < a < 1\); in order for the resulting function to have a fractal shape, we take \(b\) to be a positive odd integer.