freqdom | R Documentation |
Creates an object of class freqdom
. This object corresponds to a functional with domain [-π,π] and some complex vector space as codomain.
freqdom(F, freq)
F |
a vector, a matrix or an array. For vectors F[k], 1≤q k≤q K are complex numbers. For matrices F[k,] are complex vectors. For arrays the elements F[,,k], are complex valued (d_1\times d_2) matrices (all of same dimension). |
freq |
a vector of dimension K containing frequencies in [-π,π]. |
This class is used to describe a frequency domain functional (like a spectral density matrix, a discrete Fourier transform, an impulse response function, etc.) on selected frequencies. Formally we consider a collection [F_1,…,F_K] of complex-valued matrices F_k, all of which have the same dimension d_1\times d_2. Moreover, we consider frequencies \{ω_1,…, ω_K\}\subset[-π,π]. The object this function creates corresponds to the mapping f: \mathrm{freq}\to \mathbf{C}^{d_1\times d_2}, where ω_k\mapsto F_k.
Consider, for example, the discrete Fourier transform of a vector time series X_1,…, X_T:. It is defined as
D_T(ω)=\frac{1}{√{T}}∑_{t=1}^T X_t e^{-itω},\quad ω\in[-π,π].
We may choose ω_k=2π k/K-π and F_k=D_T(ω_k). Then, the object freqdom
creates, is corresponding to the function which associates ω_k and D_T(ω_k).
Returns an object of class freqdom
. An object of class freqdom
is a list containing the following components:
operators
\quad the array F
as given in the argument.
freq
\quad the vector freq
as given in the argument.
fourier.transform
i = complex(imaginary=1) OP = array(0, c(2, 2, 3)) OP[,,1] = diag(2) * exp(i)/2 OP[,,2] = diag(2) OP[,,3] = diag(2) * exp(-i)/2 freq = c(-pi/3, 0, pi/3) A = freqdom(OP, freq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.