BXfast | R Documentation |
We wish to calculate the tensor-matrix product Y = B X fast, where B is a stationary tensor, i.e. vec(Y) = mat(B) vec(X) is a product of a Two-level Toeplitz matrix with a vector, which can be calculated fast using 2D FFT.
BXfast(eigvals, x)
eigvals |
eigenvalues of a Two-level Toeplitz Matrix |
x |
vectorization of matrix observation |
vector vec(Y), which can be matrized to obtain the product Y
band <- matrix(4:1,2) eigvals <- stats::fft(to_book_format(band,3,3)) BXfast(Re(eigvals), runif(9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.