| Fourier_series-class | R Documentation |
A s4 class that represents the linear combination of Fourier basis functions below:
\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]
If not assigned, t_0 = 0, T = 2\pi.
If not assigned, k_cos and k_sin equals 1, 2, 3, ...
double_constantvalue of a_0.
cosvalues of coefficients of \cos waves, a_k.
sinvalues of coefficients of \sin waves, b_k.
k_cosvalues of k corresponding to the coefficients of \cos waves
k_sinvalues of k corresponding to the coefficients of \sin waves
t_0left end of the domain interval, t_0
periodlength of the domain interval, T.
Heyang Ji
fsc = Fourier_series(
double_constant = 0.5,
cos = c(0,0.3),
sin = c(1,0.7),
k_cos = 1:2,
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.