FourierSeries2fun: Compute the value of the Fourier summation series
Description
Compute the value of the Fourier summation series
$$f(x) = \frac{a_0}{2} +
\sum_{k=1}^{p_a} a_k \cos{(\frac{2\pi}{T}k(x-t_0))} +
\sum_{k=1}^{p_b} b_k \sin{(\frac{2\pi}{T}k(x-t_0))},
\qquad x\in[t_0,t_0+T]$$
at some certain point(s).
Usage
FourierSeries2fun(object, x)
# S4 method for Fourier_series,numeric
FourierSeries2fun(object, x)