View source: R/fourier.inverse.R
fourier.inverse | R Documentation |
Computes Fourier coefficients of some functional represented by an object of class freqdom
.
fourier.inverse(F, lags = 0)
F |
an object of class |
lags |
lags of the Fourier coefficients to be computed. |
Consider a function F \colon [-π,π]\to\mathbf{C}^{d_1\times d_2}. Its k-th Fourier coefficient is given as
\frac{1}{2π}\int_{-π}^π F(ω) \exp(ikω)dω.
We represent the function F by an object of class freqdom
and approximate the integral via
\frac{1}{|F\$freq|}∑_{ω\in {F\$freq}} F(ω) \exp(i kω),
for k\in lags.
An object of class timedom
. The list has the following components:
operators
\quad an array. The k-th matrix in this array corresponds to the k-th Fourier coefficient.
lags
\quad the lags of the corresponding Fourier coefficients.
fourier.transform
, freqdom
Y = rar(100) grid = c(pi*(1:2000) / 1000 - pi) #a dense grid on -pi, pi fourier.inverse(spectral.density(Y, q=2, freq=grid)) # compare this to cov.structure(Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.