\[\phi_{\mathrm{cos}}(0,x)=\frac{1}{\sqrt{\pi}},\quad\phi_{\mathrm{cos}}(n,x)=%
\sqrt{\frac{2}{\pi}}\cos\left(nx\right),\]