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_constant
value of a_0
.
cos
values of coefficients of \cos
waves, a_k
.
sin
values of coefficients of \sin
waves, b_k
.
k_cos
values of k
corresponding to the coefficients of \cos
waves
k_sin
values of k
corresponding to the coefficients of \sin
waves
t_0
left end of the domain interval, t_0
period
length 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.