freqdom: Create an object corresponding to a frequency domain...

freqdomR Documentation

Create an object corresponding to a frequency domain functional

Description

Creates an object of class freqdom. This object corresponds to a functional with domain [-π,π] and some complex vector space as codomain.

Usage

freqdom(F, freq)

Arguments

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 [-π,π].

Details

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).

Value

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.

See Also

fourier.transform

Examples

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)

freqdom documentation built on Oct. 4, 2022, 5:05 p.m.